If you Lost photos from SD Card then immediately stop using the same sd card. Otherwise once data get overwritten then it cannot be recovered. Remove sd card from your Android Phone and connect to the computer system and then perform the following steps:
1. Press Windows + r key simultaneously
2. Write cmd in the opened dialogue box and hit Enter
3. Type command “CHKDSK [driveletter] /r” in the command prompt window. In this command, you have to provide your attached sd card drive letter. Let’s take an example if your drive letter is G then type the command like “chkdsk G: /r” and press Enter.
4. After getting the successful message, close the cmd window. Go to My computer and access your sd card and view your data.
Note: – This process does not ensure 100% data recovery. So I recommend you to, If you don’t want to lose your data permanently then you can go for an alternative option. Simply try SD Card Data Recovery Software. The software ensures lost data recovery.