|It could be a corrupt system file, and infection, an updated driver issue, or a bad memory card are the first to come to mind.|
If this was sudden, do a system restore to a date prior to the problem.
If this happened after a driver update, or windows update, try a driver roll back on the updated one, or try booting in safe mode, if it works there, it probably is a driver (download all correct drivers if needed).
Update and run your antivirus program, and after that, run malwarebytes to check for an item that may have been missed.
Try disk cleanup and then disk defrag.
** Think hard and let us know about any hardware, software, or driver changes. Let us know if this has been coming on for a while now, and any other problems. The more details, the better.
You have to be a little bit crazy to keep you from going insane.