If you opened an attachment from a scam email, run a scan with a reliable antivirus, such as TotalAV, to remove any potential malware that could infiltrate your device.