I had this issue with my first PC build. The best thing to do is strip down your computer to only the necessary parts - boot drive, cpu, mobo, power supply, 1 stick of RAM. If the issue goes away with that, slowly add parts back until you find when the issue starts. For me, it was the mobo dying...