Try lowering the processor speed and see if it fixes the problem. If it fixes then the problem is a heat problem.
Try a known good processor and check if the problem gets solved.
If all looks fine then troubleshoot the motherboard.