Private Cyber Security

A plain-English guide to staying safe online, for individuals and families in the UK

Malware and Ransomware Guide

Think your computer or phone has a virus? How to clean it up

On a computer, update and run a full antivirus scan; if that fails, wipe and reinstall. On a phone, a factory reset is safest. Then change passwords.

· Published · Last reviewed · 3 min read

Short answer

On a PC or laptop, update the device, run a full scan with your antivirus and follow its advice; if it cannot clean the device, wipe it and reinstall everything starting with the operating system [1]. On a phone or tablet, the safest fix is a factory reset [1]. Restore files only from a backup made before the infection, then change important passwords from a clean device [1].

Step by step

  1. Confirm the problem. Run an antivirus scan. Signs include slowness, random restarts, unknown pop-ups and contacts receiving odd messages from you [1].
  2. Disconnect if it is serious. If you see a ransom note, unplug from the internet first.
  3. Update and scan. Update the device and programs, then run a full scan [1].
  4. Reset if needed. Factory reset a phone; wipe and reinstall a computer if the scan cannot fix it [1]. Get expert help if unsure.
  5. Restore and secure. Restore from the last known good backup, then change passwords and turn on 2SV [1].

If someone phoned to say you have a virus

That is a common scam, often by people claiming to be from Microsoft or your internet provider. Hang up and report it to Report Fraud [1]. If you gave them remote access, disconnect, run a scan, consider a reset, and change your passwords [2].

After the clean-up

Keep the device and apps updated, back up your data, check the device is encrypted and keep antivirus running on computers [1].

In plain words

Scan it, and if that does not work, reset it. Only bring back files from a backup made before the trouble started, and change your passwords.

Questions people ask

Will a factory reset delete everything?

Yes. Back up only data you are sure is clean, and do not restore a backup made after the infection.

Can I clean a phone with an antivirus app?

Phones usually cannot be cleaned that way; a reset is the safest option [1].

Who can help if I am stuck?

A reputable local repair shop, or the manufacturer's support line found on its official website.

Should I report it?

If you lost money or were hacked, report it to Report Fraud, or Police Scotland on 101.

Sources

  1. National Cyber Security Centre, How to recover an infected device. Accessed 2 December 2026.
  2. Microsoft Support, Protect yourself from online scams and attacks. Accessed 2 December 2026.

12 factual claims checked against 2 sources before publication.