|"i get a message that my usb has been write protected"|
Your usb what?
USB external hard drive or usb pen drive?
If it's a pen drive, it often means it's starting to fail and you need a new one. I always throw them out when i get any sort of problem with a pen drive. Something you can no longer rely on is not worth keeping.