Depending on the extent of the attack, there are many ways for removing viruses from your computer. Of course, if you have an antivirus program installed in your computer, there is a big possibility that it will quarantine if not delete the infected file. For the sake of discussion, let us assume that the antivirus program has not detected the virus yet. Here are the different ways to remove a computer virus.
First, you can delete it right there and then. Every time you insert your flash drive, you notice that there are hidden and extra files added. Of course, if you are not the one that copied this file, it is alright to assume that these are computer viruses. Select the questionable files and delete it at once before it infects your other files.
You can also let the antivirus program detect the virus manually. You just have to go to your antivirus program and go to their manual scan. You can set it to scan the location where you think the location is. The antivirus will scan it and once it detects the problem it will quarantine and delete the infected files.
When everything else fails or when your computer no longer functions because of a computer virus infection, then you have no choice but re-install your operating system. You can do a system recovery to install a working operating system. A system recovery will change the operating recovery but will not delete you files especially those that are needed in your line of work.