If formatting a MAC could remove Malware. Then Someone please tell me how to format my MAC laptop. I suspect my laptop is infected with malware?
Firstly are you sure you have malware? it's very much rare on the mac. My advice would be to install and run antivirus software first
Follow this tutorial to factory reset mac laptop or desktop