Question Pc turns off automatically

Apr 17, 2022
3
0
10
Hey, hope you guys are having a good day. My pc has started turning off automatically for the past 4-5 days. It trys to automatically restart but can't go past post. Shows different errors everytime and sometimes doesn't turn back on until I turn the power off and back on. Sometimes automatically starts running after being plugged in. What could be the damage? Ram, PSU? MOBO maybe?