My Iphone keeps shutting off randomly
This started about 15 minutes ago, but while i'm using my phone, it will turn black and then the apple logo appears and the phone turns on again. Its done this about 8 times in the last 15 minutes and I can only use my phone for about 2 minutes at a time. I've tried doing the hard shut down where you hold on the power button and volume button at the same time, but the problem keeps occurring. What is happening and how do I fix this?