How to Get a Virus?

A virus is a malicious computer file which is normally transmitted as an attachment to an email, or as a result of a script which runs while visiting an infected web site.