Unreal Engine is exiting due to D3D device being lost

Hello,

I keep running into this crash error. I am unsure how to fix it. I get it in UE4 and UE5. Any feedback would be helpful.