This problem arises because:
Windows is not updated
Drivers are incompatible or not updated and having conflict
Heating Issues
RAM issue some time (if theres two then remove one and check it. If not fix, then remove second and then check)
Don't overclock, get rid of OC. Disable OC in BIOS
Sometimes when this issue came then registry becomes corrupt and you need Registry to be fix after disabling OC.
There's can be a problem with your CPU that is born by overheating, but its rare when proper Cooling System is set.