A computer virus is a malicious program. It may damage or corrupt data, change data, or degrade the performance of the system by utilizing resources, such as memory or disk space.
The preventive measure to prevent computer with a virus is,
1)keep your computer up to date.
2)I don’t use internet explorer
3) Back up your computer.
4)Anti-virus basics.
5)Avoid suspicious web sites.
6) Always scan email attachments
7)Use a malware scanner.