Open GL randomly cuts out and really hard to get back on

I’m having trouble getting my OpenGL to work. Never had this problem before, just cuts out and goes to software rendering in games (Quake, QuakeII, Half Life, and all my other 3d games). The only way I have been able to get it back on again is by reinstalling windows, and then it still cuts out after a few minutes. Does anyone have any clue?