Restore Samsung phone

My grandson did something then all my photos were gone and the phone store kept my SIM card




 


SIM card or SD card? If they did a factory restore then the data is gone, a restore wipes the phone and over-writes the storage with the default system.