Try these steps to recover your photos:
1a. Check your “Recently Deleted” folder: Deleted photos will stay there normally for 30 days, after 30 days they will be removed and can not be recovered
1b. Check your “Hidden” folder: Sometimes photos are just hidden and not deleted
2. Read Apple recommendation: If you're Missing Photos or Videos in the Photos app - Apple Support
3. Check your iCloud: Open your iCloud and see if you find the missing photos: https://www.icloud.com
4. Other places where you could find photos: Other computer, external hard drive, USB memory stick, other cloud storage, shared albums, digital camera, memory cards, emails, ..
5. Use your Backup: iPhone/iPad: Restore your iPhone, iPad or iPod touch from a backup MacBook/iMac: Restore items backed up with Time Machine on Mac You must restore the complete library (as a second copy) and then export the needed photos.
Attention: Unfortunately iCloud backup will only contain data that are not already stored in iCloud, therefore your photos may not be part of this backup. TimeMachine backup will only contain data / photos if they are stored on the local drive, if you use optimized storage for your photos you may just have reduced quality in your backup.
6. Data recovery service: Some companies offer data recovery service, but this is expensive and can only be done if no new data were added. New data will overwrite the deleted photos and a recovery will be impossible.
If none of the above steps was able to recover your photos then your photos are gone.
Ralf