It depends on which type of adverts they are, admatt. If they are "Messenger Service" ads, then click here for the solution to those. If they're the "ordinary" adverts, click here for a free popup stopper. You could also do worse than download these three free applications, they will keep your PC clear of spyware.
Adaware6: click here
SpywareBlaster: click here
Spybot Search and Destroy: click here