Here are some steps to help detect and prevent viruses and malware on your computer:
Install and update antivirus and anti-spyware software
Maintain a firewall, with your router if possible
Keep your operating system and other software programs up-to-date
Be cautious about the emails and attachments you open
Use a pop-up blocker
Never give out sensitive information like passwords or login credentials
Only download and install software, games and media from safe, reputable sources