If you backed them up in an iCloud backup, you need to restore the backup. If you synced them to iCloud Photo Library, go to Settings/Your Name/iCloud, sign in with the same Apple ID, and turn on Photos syncing.
Backup - Restore your device from an iCloud or iTunes backup