If you have lost your messages, you will need to contact your service provider and request them to resend them to you. Carriers keep copies of all messages sent and received on their servers for legal reasons. Say the police believe the phone is being used to take orders and traffic drugs. They would obtain a warrant, and the phone company would issue copies of all the messages.
I didn't find the right solution from the Internet.