corrupted memory cards

Solution
If talking about a flash drive or add in memory card used as a drive - you can reformat it. If talking about a stick of DRAM, it's generally shot and needs to be replaced