I made a big mistake.When I reset my iPhone, I lost everything, phone book, photos.How can I take back all

I made a big mistake. When I reset my iPhone, I lost everything, phone book, photos. How can I take back all.

It would be difficult
Should take the phone to a local phone or computer repair store/business and ask them about data recovery.

Factory reset always erases all data.

It's all gone.

This is why a factory reset takes a certain procedure that isn't likely to occur unintentionally.