Viruses are programs that can harm computer data and performance. There are several types of viruses including time bombs, logical bombs, boot sector viruses, worms, trojan horses, macro viruses, and script viruses. Time bombs activate on a particular date while logical bombs activate based on a specific user action. Boot sector viruses infect the hard disk boot sector and may require reformatting to remove. Macro viruses infect documents and destroy hard disk data. Prevention through use of antivirus software is the best way to maintain a virus-free system.