shutting down and restarting radomly
my iphone 8plus is randomly shutting down and restarting. I can put it on the charger and it will do the same at times. i have checked the battery and it is at 80% why is has my phone started doing this and what can i do to fix it?