We don't have enough information to be able to help, much. For instance, do you use iCloud Photos? If so, then you should look at your account at iCloud.com to see what's there in the Photos section.
On the other hand, if you don't use iCloud Photos, but youhad Settings>Apple ID>iCloud Backup turned on, then you may be able to recover data. You should look here:
Restore your iPhone, iPad, or iPod touch from a backup - Apple Support
“Restore” is what you do when you buy a new phone, so this safety, if you have it set, requires you to erase everything on your phone and replace it with the backup. If you hadn't stopped making backups, then you would have to get to the backup quickly, usually within a day, before the backup is replaced by a newer one. However, if you did have iCloud Photos enabled, then the iCloud Backup wouldn't make an extra copy.
Perhaps you have shared your pictures with friends-- then you could get them to send copies back to you.
Unfortunately, if you don't keep your own backups to an external drive, then there really isn't any place else to look. To back up your pictures you can just plug in an external drive, select the pictures, and use Share>Save to Files. Alternatively, you can backup to a computer:
Transfer photos and videos from your iPhone or iPad to your Mac or PC
If you haven't done one of those backups, then your remaining pictures continue to be in peril.