Some viruses cause irreparable damage to computer systems and files. Others can be safely removed with reliable antivirus software. The best way to fix a computer virus is to prevent one from attacking your device by using caution when opening files or clicking on links, particularly those sent by email.