My phone keeps turning off unexpectedly it does turn back on but why does it do this and how can I stop it from doing it
Start with this. Reset all settings. You will not lose any data, but you will have to re-enter all of the device settings including WiFi network passwords. To reset all settings, Go to Settings>General>Reset>Reset all Settings.