if you have a sd card reader plug it into a windows based computer and see if it will auto repair it.
If not open a command prompt with admistrator privalages and run a chkdsk on that particular drive with commands /x /r /f.
So if your on a windows machine vista, 7, or 8 in the search box type cmd
Right click on it and click Run As Admistrator.
Then with the card reader and sd card inserted into your machine find out what drive letter has been assigned to the card reader by looking in "my computer".
Now back in command prompt if the drive letter for the card reader/sd card (EXAMPLE )says J:
the command you would type into command prompt would look like this.
chkdsk J: /x /r /f
Hit enter after the command and Let that run and that will most likely fix the card if it can be fixed.