Check the Recently Deleted folder in the Messages app if available
Restore from an iCloud backup made before the messages were erased
Restore from a computer backup made with Finder or iTunes before deletion
Ask the sender to resend the messages
Check other Apple devices signed in with the same Apple ID
Contact your carrier to ask if they can provide message records
Use a third-party iPhone data recovery tool if you have a backup or recoverable device data
Avoid using the iPhone heavily after deletion to reduce the chance of overwriting data
