Hello,
First, I would suggest checking the memory compatibility; it should be 1600MHz 1.5v. You may swap memory sticks or run a diagnostic test making sure that BIOS settings are default.
In order to test the processor you may install and run the Intel® Processor Diagnostic Tool. If the issue persists the recommendation will be swapping components so you can find the culprit.
What is the Intel® Processor Diagnostic Tool?