1. Update the phone and all apps.
2. Free up storage. Below 1 to 2 GB free, phones can restart.
3. Start in Safe Mode. If it stops restarting, uninstall recently added apps.
4. Check the power button: a stuck button keeps restarting the phone. Press it a few times and listen for a click.
5. Remove the case and SD card.
6. Back up and do a factory reset if it continues.
7. Restarts that continue after a reset usually point to the battery or the board. Bring it in for a check.