Well I will suggest you to use a data recovery software and for photos you have in your SD card for that you can use a photos recovery software for this purpose.
You can find a lot of recovery software by search on the internet. You the one which you find the best fit that can help you in...