What kind of operating system do you use? Did you checked motherboard health. Processor, voltage, temperature?
Generally yout problem looks like classic problem with memory chip or overheating (for older processers).
Correct placement, swap or try to replace memory chips.
Quick support. Stemple...