Determine if it's a hardware or software problem. Try safe mode to rule out most software/driver problems. Remove unnecessary hardware (peripherals, extra ram, GPU if you have onboard graphics) to help rule out any hardware problems. Use a different PC to burn a Linux distro to make a backup if necessary.