I'm gonna get rocks thrown at me for sayin' this, but...
... Get a Mac.
Then you don't have to worry about such things any more.
31 years a Mac user, never had a "virus" at all.
And I don't even use any anti-virus software.
That's because there are NO Mac "viruses" out there "in the wild".
I don't "restrict myself" as to where I go or what links I click.
I visit the "pirate sites" and don't give a hoot about it.
I open just about any attachment I want -- I couldn't care less.
I do run the free MalwareBytes Anti-Malware app now and then.
And once it actually -found something- and removed it.
One instance in 31 years.
The best way to handle those "your computer is infected!" popups is to force-quit the browser you're running (you can do that in Windows, right?).
Then empty your browser caches and reopen it.
If you're going somewhere dodgy, use either the Epic Privacy Browser (they have that for the PC, too, I believe), or TOR.
Epic will "hide your IP address" from the website to which you're connected.
I think TOR can do even more, but I've only used it a little. Don't really need it.
One can be a Mac OS fan without being a fanbois for Apple (I'm not).
Great OS, even if the company is leftist and looney.
Unfortunately Apple -- which became big through the Mac and its peripherals (like the iPod) -- seems to be neglecting the Mac side of their business these days, as the largest share of their revenue these days comes from the iPhone (which I don't own or want).
I hope they don't finally decide to exit the computer-building business.
I could never adjust to a Windows PC -- ugh!