If the phone is an Android phone you can download an app from Google Play to recover your deleted text messages without the use of a computer.
Just search on Google Play for recover deleted Text messages app and an App should show up that you can download to your Android Phone to recover the text messages.
If your phone is I Phone then you'll need an I Phone App to recover the deleted Text messages.