Check "Recently Deleted" in your iPhone's Photos app to see if your deleted photo is still there. If it is, select it and then tap "Recover." You can restore your iPhone from a macOS or iCloud backup.
Discover 5 effective ways to permanently deleted photo recovery from Android devices. Learn methods with and without backups.