computer keeps freezing
I bought my PowerSpec G706 in March of 2020, and it was fine since, but in about September my pc started to have issues and would often freeze or Bsod. I looked up what I could do, and I replaced the RAM and it was fine, but it had started to crash after about an hour and would repeatedly freeze or restart while I was playing video games. Also about in early December in 2020, I booted into the BIOS and my RAM was not detected. Is there another hardware issue that could be at play?

Comments
Here are the links:
Bios update instructions
https://www.asrock.com/support/BIOSIG.asp?cat=BIOS10#:~:text=Press [F2] during POST to,Yes” to flash the BIOS.
Bios file:
https://www.asrock.com/mb/AMD/X570 Pro4/index.asp#BIOS