Hi AlexWiedman-6734,
The first step I would recommend is a full hardware diagnostic. You can often do this from the BIOS or boot option. This kind of problem can be related to hardware, especially RAM (faulty or unseated) or overheating.
Once you’re happy that the hardware is all ok, I would recommend a clean installation of windows.
--If the reply is helpful, please Upvote and Accept as answer--