I found the issue. I had turned my fans up to 75% which was making my graphics card work harder which caused it to overheat and shutdown. Also my PSU port that connects to the motherboard was not in properly which stopped my PC from turning on sometimes. Thanks for the help anywaysThen you might have run out of luck. RAM should be bought as a kit. Mixing RAM not bought as a kit can have issues, even if you buy the same make and model.