The following is probably overkill for some folks, but when a hazel eyed gal asks…
I’ll split this into two sections. One for internet pop-ups, and one for virus.
For pop-ups:
Depending on the Internet browser that you’re using, within the Browser itself is a pop-up control.
If you’re using Internet Explorer 9 (or the others), click on Tools at the top of the screen in the Menu Bar, and about halfway down the sublevel menu, is the built in pop-up blocker that can be turned on.
For Chrome, you have to go into advanced settings. Here’s their web page that explains that:
https://support.google.com/chrome/answer/95472?hl=en
However, most internet sites that want to display pop-ups are pretty good about sneaking their stuff past the internet browser pop-up blockers. Thus, it’s possible that you’re seeing this even if the browser pop-up blocking is on. And, some these sites will intentionally try to load a bit of software into your machine to let pop-ups run and run, etc. Techie’s call this “adware”. By chance did you download something a couple weeks ago? Sometimes other stuff comes along, the so called Trojen horse method.
For Virus (including adware):
The only way to deal with adware (and other virus issues) is to have a decent virus blocking, fix-it, remove-it, program that includes an internet pop-up blocker as part of its program. I’m assuming that you have whatever the computer manufacturer had preinstalled on the machine. So check to see if there’s a pop-up blocking function within that and turn it on. However, most of the manufacturer preinstalled virus programs are the freebe bare bones basic programs. So, an upgraded virus program needs to be considered. Shop, and make sure whatever you’re looking at can handle what you do. Just guessing, but perhaps you need something that can handle super heavy internet use. But, flash drives will also get plugged in. I’ve used McAffee, BitDefender, AVG, Avast, Norton, TrendMicro, MalwareBytes, Sophos and others that I’ve forgotten. Most do the same things, so make sure what you need is covered and ignore the rest. Currently, I use Kaspersky’s “Internet Security” program, on several machines, which is geared to heavy internet usage and has some additional nifty tools.
Here’s a link to one of the trade on-line magazines that rates the 2014 virus products.
http://www.pcmag.com/article2/0,2817,2372364,00.asp