Chosen Solution

I have a iPhone 6s thats sometimes when I’m browsing the phone.. it comes a black screen with the loading thing. It stays for like 1-5 seconds and then back to locked screen no matter what I’m doing… How can I fix this?

This is probably the latest bug from Apple. If your iPhone, iPad, or iPod touch unexpectedly restarts - iOS 11.2 https://support.apple.com/en-us/HT208332