Question PC Shutting off randomly

Oct 8, 2020
Hello, So it has been over a year since I built my first pc and this isn't the first time this happens. Before it would happen frequently 1 or 3 times a day then it would stop. Now, since yesterday 10/7/2020 my pc would freeze for 5 seconds then restart. When starting up it would also say checking the disk. Every startup, it would check the disk and it would look for problems within the hard drive but never find or fix any issues. A friend told me it could also be a faulty power supply but I'm not sure. I got a replacement that should come in 3 days. I don't know what to do if it's not my power supply would love some suggestions.

Here are my specs

Ryzen 7 2700x
MSI Gaming GeForce GTX 1660 ti
MSI Performance Gaming AMD Ryzen 1st and 2nd Gen AM4 M.2 USB 3 DDR4 DVI HDMI Crossfire ATX Motherboard (B450 Gaming Plus)
32 GB Ram ( Corsair Vengeance RGB PRO 16GB (2x8GB) DDR4 3200MHz C16, Corsair Vengeance LPX 16GB (2x8GB) DDR4 DRAM 3000MHz C15)
Silicon Power 256GB SSD 3D NAND A55 SLC Cache Performance Boost SATA III
Seasonic S12III 650 SSR-650GB3 650W 80+ Bronze ATX12V
Crucial P1 1TB 3D NAND NVMe PCIe Internal SSD