if you have a card reader connect the mem card to your computer and format it from there.
OR
remove the card from your phone, leave it out for a bit...then put it back in then try again