You can use an antivirus or Mac's built-in malware removal tool. Also, you can do a manual check on your browser and apps.