From the information given, it sounds like your macbook may be effected by adware.
If any of the following attributes have been noticeable with your computer, there are chances your laptop has been infected.
-Frequant Pop-Up Advertisements
-Noticeable Slowness
-Browser Issues (Bizarre Landing Site, Unresponsiveness, Frequent Crash, Random Undesired Redirections)
-Personal File Changes
-New Unseen Programs
This doesn't mean that you necessarily have a virus, although if multiple of the previous attributes are noticeable, you may need potentially to get the computer diagnosed at an Apple Store location.
If you have any further questions, respond!