How do you get rid of viruses when you cant download protection?

Just try to restart the system in safe mode and download any antivirus.