Do you have data on your SD card and cannot retrieve them? If you already tired to manually recover your data/files or had no success check out Wondershare Data Recovery or Wondershare Photo Recovery. Make sure you listen the whole video as I forgot to mention some things.
If you want to try to manually recover your files for free then try this first but you will need a Windows computer then open a command prompt: https://www.youtube.com/watch?v=3pNmJDzfkzo
Ah I almost forgot to mention that even though you cannot access your photos on your sd card while in your phone you may be able to access them by simply putting your sd card into a usb sd card adapter then plugging it into a computer. Don't know why this is but this worked for me several times with different sd cards.
----------Other cool videos-----------
Samsung Galaxy S9 vs Canon M50 Side by Side Comparison: Which is Better?: https://goo.gl/yqmuyj
Canon M50 Video Creator Kit Bundle w/ Rode Videomic Go Unboxing (Best YouTube/Vlogging Camera?): https://goo.gl/4wNcPs
Galaxy S9 vs iPhone X vs iPhone 8: Low Light Camera Video & Photo Test Review- Which One is Better?: https://goo.gl/1ujuiw
My Favorite iPhone X Wireless Qi Car Charger Mount & Why: Two Attachment Methods! https://goo.gl/Gjg9r9
Paid $1258 for My iPhone X | How Much $ Can I Get Right Now at Walmarts EcoATM Phone Machine?: https://goo.gl/GBkCqP
iPhone X vs Galaxy Note 8 vs iPhone 8: Camera Low Light Video & Photo Review: https://goo.gl/mftdvT
iPhone X: Zover Magnetic Detachable Wallet Case (Can Wirelessly Charge too): https://goo.gl/A8ZVKK