I’ll be honest right off the bat: I can’t guarantee we’re going to be able to fix your iPhone. Sometimes, issues related to iPhones randomly shutting off are caused by water damage or other unfortunate accidents. But don’t lose hope! A lot of the time, you can fix this problem at home.