When i play my screen randomly turned black then im back to the windows homescreen

So i play overwatch,everytime in the middle of any game my screen goes black and then im back at my windows home screen im pretty sick of this error pls reply asap thanks!

My screen randomly turns on and off, but that’s only when the roomtemperature is below a certain number.
There’s a loose connector and i haven’t gotten around to getting a new screen.

Make certain it’s not a hardware issue, perhaps caused by the shaking table. If overwatch is the only active game this happens on, then it might not be a physical issue.

You can also try updating your drivers if you haven’t done that, windows updates and repairing gamefiles are also something you can look into.