Welcome to Nokia Discussions forum! Unfortunately there is nothing you can do form the phone. You can try to format the memory card with PC, and loose the data if you are able to format.
If this is not an option and it's a Nokia memory card, you could contact Nokia Care point and ask if there is something they can do. If it's a 3rd party card, you could contact some local store that repairs PC's.
Hope this was helpful!