My iPhone won't save my settings?

My iPhone won't save my settings, when I try to change something it immediately resets it. I tried to turn on the setting that shows the battery percentage, so I switched it to on and then it didn't work, when I went back to settings it was back to off. The same thing happened when I tried to change my text notification setting

You're going to have to do a DFU restore. If that doesn't fix the issue you're going to need a new phone.