How to prevent and remove viruses and other malware What is a computer virus? A computer virus is a small software program that spreads from one computer to another and interferes with computer operation.