Try checking if the fans on the video card, cpu, and power supply are still functioning normally.

If you did not add or modify any hardware and settings recently, then constant rebooting means your PC is encountering errors and it could be hardware failure.