I ordered the components a few weeks ago and I finished assembling my PC last night. Windows 10 just finished updating this morning. The problem is that, all of a sudden, the PC restarts itself. And a red light turns on in the motherboard. It indicates that the PC does not recognize the CPU but the weird thing is that the PC runs normally (normally, excluding the spontaneous restart). I don't know what to do so I'd like to see if anyone can give me a hand with this issue. I'd appreciate it a lot.
UPDATE:
I forgot to mention the components:
-Motherboard: MSI B650 Gaming Plus Wifi
-Power Supply: AZZA PSAZ 750W (80 Plus Bronze)
-Processor: AMD Ryzen 5 8600G with Radeon Graphics
-No GPU