Well, I cleaned it up with the program, but after I reformat it again and use it for a while, all of the pictures become protected (I can't delete them), and when I turn off the camara, the card becomes write protected again. Could it be the camara (I hope it's not)?
You are formatting it with the camera each time, right?
It could be the camera but do a couple things to check. Have you tried using a different card in the camera? If that works, it is most likely a problem with the card. Also, if possible, try the card in another camera to see if it works there.
Some have mentioned that formatting a card in a different camera, then formatting the card in your own camera, can solve such problems. I haven't tried it, so I don't know for sure.
If neither of these work, I'd call the card manufacturer first. Then, if necessary, the camera manufacturer.