A computer virus is a type of program that replicates itself by modifying other programs and inserting its own code. The first computer virus, called 'Creeper', was created in 1971. There are different types of viruses like resident viruses, macro viruses, boot sector viruses, and email viruses. Resident viruses remain in RAM and infect files. Macro viruses are embedded in documents. Boot sector viruses target the boot sector or MBR of storage devices. Email viruses intentionally spread using email. To manage viruses, one should install antivirus software, keep it and the OS updated, secure the network, be cautious of clicks and attachments, backup files, and use strong unique passwords.