Open Settings
Tap Messages
Turn on iMessage
Wait for activation
Sign in with your Apple ID if prompted
Make sure Wi-Fi or cellular data is on
Check that your date and time are set correctly
Restart your iPhone if iMessage does not activate
Update iOS if needed
Contact Apple Support if activation still fails
