First of all, You can take some precaution with SD Card
1. Do not take any new photo on this SD card then
2. Remove you SD card from camera/camcorder/smartphone because data could overwrite your previous photo and lost them forever.
3. Connect this card to your computer via a card reader...