Right-click on that drive in explorer, properties> security>Permissions for everyone, check Allow on Write and Full control.
YOu can download and install a low-level formatting tool, like killdisk, then run it to do a low-level format on that drive.
If it is a flash media, like a SD card, make sure the slider switch on it's side is set to Unlocked.
Please check is there any switch beside the USB drive. Or this device is for Read-Only, such as Sales Promption.
Unless it's a rewritable cd, you can't format it. The data on cds is physically burned into the surface of the disc making it a read-only storage medium once the cd has been burned and closed. If it's a rewritable cd, then you have to use whatever burning software you have to erase the data from the disc and then burn new data onto it.