Which iOS is installed on your phone? Depending on your model, the current version is iOS 11.4.1
If you are using Beta Software, this might be a reason for that message.
To rule out a software issue, set the device back to factory settings, using iTunes on your computer.
This article explains, how to do that: