Your problem sounds like Adware

Adware is a type of virus that infects your PC and puts ads anywhere it can. Adware is one of the most popular types of computer viruses as it is the most profitable to the creator.

Luckily, Adware is usually pretty simple to remove, and should be wiped out if you run the following programs:


AdwCleaner
Adware Removal Tool