There is nothing you can do. SD card storage is not meant to be recoverable.
You can remove the SD card and try to read in from a computer and see if it is the card issue or the phone But that's all you can do, unless you have a backup method previously set up for the photos.