Being smart about what you download from where is the best protection against malware. Recent macOS versions have security software as part of the operating system, do self-cleaning, and system software issues are best resolved using specific tools on a case by case basis. They can use excessive computing resources and slow down your computer and possibly cause system damage. Do not install any anti-virus or automated cleaning tools on your computer, and remove any that you have installed.