Disconnect the infected device from the internet and other devices
Back up important files to an external drive or cloud storage
Boot the device into Safe Mode
Run a full scan with updated antivirus or anti-malware software
Quarantine or delete all detected threats
Uninstall suspicious or unknown programs
Remove suspicious browser extensions and reset browser settings
Delete temporary files and clear cache
Update the operating system and all installed software
Change passwords from a clean device
Restore the system from a clean backup if needed
Reset the device to factory settings if the infection persists
