I’m having a issue understanding virus protection because I had a virus before and Dell tech team said I needed to reformat pc and I did. I downloaded viruus protection programs and aren’t them programs to remove the virus? Say if I downloaded a song from LimeWire what is the virus protection will do? Are the free AVG protections good or is better buying protections instead of getting a free version? Some sites I go to ads appear when closing, how can I prevent that do I need a spyware protection?

in my experience in computing i found that there are viruses (in this case malware) that make your system show a fake windos error prompt (usually telling you that there is spyware or viruses in the computer although there isn't) and that you need to download the offered software (in which i find suspicous windows doesn't just offer free software through an error prompt for free) and i also found out that if you try to click don't install is triggers virus installation and if you click the X in the corner it will also trigger a virus installation

it downloads rogue software that automatically installs itself into your comuter (it is malware that disquises itself as a spyware protection program, virus protection program, or a registry cleaner) and acts as it is scanning your system and shows fake threats and says that if you want to get rid of them you have to buy there product.

how do you cancell these you whenever you encounter a promt that seems like it will download one