Computer virus protection Use antivirus protection and a firewall. Get antispyware software. Always keep your antivirus protection and antispyware software up-to-date. Update your operating system regularly.