If you think your computer has been infected, you can follow the steps below to remove malware from Mac and Windows PC/laptop. Disconnect from the Internet. Enter Safe Mode. During the malware removal progress, you need to avoid logging into accounts. Check your activity monitor. Run a malware scanner.