They are made and initially spread by a person or persons. Worms and Virus's are not the same thing and replicate differently. Spyware, Malware and Adware are other 'infections that you can pick up also. Worms replicate by using your e-mail address book to send themselves as e-mails to everyone in the address book. It appears to be coming from you so your friends open it and the infection spreads. This is why you should never ever ver open attachments, even if they come from someone you know. The only exception is if the person sending it tells you ahead of time that they are sending it and you know for a fact that it orgiginated with them and is not just 'something cute' that they are forwarding to you.
Viruses may or may not come via e-mail. They can also come as direct attacks on your computers, as a result of visiting certain web sites, embedded in software that you've downloaded and the like.
You should always be running anti virus, anti adware and anti spywayre software. these should be updated daily. No less than once a week you should do a full system scan with each of these softwares to check for infestations.