To fix a corrupted memory card, reformat it.
CAUTION: Formatting deletes all pictures and videos, including those that are protected. Removing a card during formatting may damage the card.
See your camera's user guide for information about formatting.
NOTE: If you cannot format your memory card in the camera, or if the memory card still does not function properly after you have formatted it in the camera, use a memory card reader to format the card. Many newer computers have built-in card readers. You may also purchase an external card reader.