Phone keeps rebooting on its own

If you don’t have experience with soldering you shouldn’t do this yourself. Better take your phone to a local repair shop and have them repair it.