Go to Settings > Messages and turn iMessage off, then back on. Go to Settings > Messages > Send & Receive, tap your Apple ID, then tap Sign Out. Go to Settings > FaceTime, tap your Apple ID, then tap Sign Out. On your iPhone first, sign back in to iMessage and Facetime.