Installing a security system on your Mac is also a good idea to prevent malware from infecting your computer in the future. How to avoid getting another virus on your Macīe sure to look out for virus-friendly websites and files, and avoid them by doing things like leaving spam emails unopened and only downloading from trusted, known sources And, as a last resort (or for those who have access to Apple's technical support), calling in a professional can be a good idea.It's relatively quick and easy, but you'll lose any changes that have been made since the last backup. For those who use Time Machine, one other thing to consider is restoring an old version of your computer to wipe out all traces of the virus.Many viruses are user-specific, rather than device-specific. If you're still worried about having a virus, you may want to create a new user profile on your Mac.Even if you go through all of the above steps, it's still a good idea to once again run a malware-detection software like Clean My Mac X or Malwearbytes - both are free and will give you peace of mind when it comes to your computer's health.Other steps you can take to get rid of a virus on a Mac