Hi Sniper, welcome to the PCHF!
Fromt he brief discription you've given us, it sounds like either an overheating issue, or there's a hardware problem with either your
RAM, power supply or motherboard itself.
Can you please post your exact PC hardware specs?