You could try a hard reset is usually a temporary solution to a software problem. It doesn't change anything at all — it just forces your iPhone to start from scratch, and often times the problem comes back.
Press and hold the power button and the volume down button together until the screen goes blank and the Apple logo appears on the screen.
When the Apple logo reappears, let go of both buttons.
When your iPhone turns back on, the hard reset is complete.