There are multiple solutions to this problem and it depends on what type of error youre receiving. You can try reinstalling the operating system, updating your drivers, or attempting to use a Windows repair tool like Reimage Plus which will scan your computer for any un-optimized files that could be causing this issue.