How to fix a damaged sd card?
You can try to recover files before you format it, but yes you will have to format it.  See this question for various methods of SD card recovery: Data Recovery - How to Restore Deleted / Formatted Files on HD Micro SD Card