My pc boot ups smoothly continuous to run for a 5 minutes, and then suddenly it freezes for about 15 minutes and restarts again continue to repeat the procedure again.
Can you list your specs and describe it more in depth? Like what windows are you running, what are you doing and if you have changed something in your computer recently.
When posting a thread of troubleshooting nature, it's customary to include your full system's specs like so:
CPU:
Motherboard:
Ram:
SSD/HDD:
GPU:
PSU:
Chassis:
OS: