Use antivirus software or the DOS SYS command to repair boot sector viruses, then boot from a known clean system disk. To avoid boot sector viruses, remove all external media (i.e. USB drives) before shutting down your computer.