If you accidentally erased a message, or you can't find a certain contact's phone number, you can get it back with Sim Card Data Recovery.
The program can recover the following information: Contacts, sent/received/deleted messages, etcetera.
Also, it can show you the ICC ID (a 20-digit code that phone providers use to identify SIM cards).
In order to read the content on the SIM card, you will have to have hardware especially designed to do so.
30-day trial version.