If you are Talking about the pop ups that appear without you surfing to any websites they normaly come through a backdoor in windows messenger so if you don't use it disable it
Try
here download messenger disable and take windows messenger off your comp and install msn messenger if you need or want to use a messenger service