Make sure that your phone line is turned on. If you use multiple SIMs, make sure that the phone number you want to use is selected and turned on. In the Settings app, tap Messages. Turn iMessage off and then back on.