Removing your SIM card from your phone may prevent you from using the cellular account attached to the SIM card. However, any contacts or messages stored on the SIM card will be removed by removing the SIM card, but nothing will be erased from the phone or the SIM.