Computer worms can spread through various means, such as email attachments, file-sharing networks, or exploiting vulnerabilities in operating systems and network services. They often rely on social engineering techniques or automated scanning to find and infect vulnerable systems.