Hi I have recently had the same issue on my phone if you have a warranty they will give you a new one and who did you buy it from?
+
Hi I have recently had the same issue on my phone if you have a warranty they will give you a new one unless you want to purchase a new logic board which is about as much as the phone cost but try checking the warranty and seeing if they will give you a new one.