To me, it sounds like you've been somewhat careless, and managed to install some malware. I recommend running programs like adwcleaner, Malwarebytes, Hitman Pro, and JRT. (Hitman Pro only has a trial for free, and from what I remember, JRT is somewhat confusing to get working). If these don't remove it, just do more research on "Fast Search". Hopefully this helps you.