I accidentally reset my laptop and now all the pictures are gone. I need help how can I restore it?
It depends on which operating system and which hardware you are using.
In the case of an HDD, yes. With an SSD rather no.
Scan the disk with r-Sudio, DMDE or UFS Explorer. Preferably from a live Linux so that you don't overwrite anything.
If you are not looking for what you do then let a professional do it. When it comes to data recovery, there's usually no second chance.