How to secure your computer from hackers Use a firewall. ... Install antivirus software. ... Install an anti-spyware package. ... Use complex passwords. ... Keep your OS, apps and browser up-to-date. ... Ignore spam. ... Back up your computer. ... Shut it down. More items...