If the problem is that its just infected, Just format the pendrive and it should work.

If the problem is somewhat related to bad hardware then you can ask for a replacement.