Yes, if the virus has not damaged your computer system files or the operating system, you can install an antivirus program if you have a virus.