Cookies don't 'pop up'!
Total AV is an anti-virus product, in the same way that AVG and Avast are. If you're actually looking for a free anti-virus program, then I use and recommend Avast:
https://www.avast.com/en-gb/lp-ppc-hp-v2
If you're experiencing lots of pop-up ads, they're probably being generated by malware, so it's a free anti-malware program that you should be looking for. If you happen to already have the free version of Malwarebytes Anti-Malware on your computer, that will do the job. However a fresh download of that product comes with a free trial of the full (paid for) version, which seems to slow some computers down, so I now recommend using AdwCleaner instead. There's no installation process involved; you just run the downloaded file directly:
https://www.malwarebytes.com/adwcleaner/
If you're simply getting fed up of being asked to accept cookies, you can use the free browser extension recommended by Aelmpvw. It's available for Chrome, Firefox, Pale Moon and Opera:
https://www.i-dont-care-about-cookies.eu/