You need to be more specific regarding the type of virus that has attacked your PC. Also, do you have any antivirus installed? I would recommend you to install some strong antivirus like Immunet protect, Avast, Norton, Bitdefender etc. This will help your computer to remain safe.