How am I going to avoid UE4 from crashing

I’m having a problem with Unreal Engine 4, every time I I launch it, it takes a long
time to load, but then it crashes on startup.

Once: takes a long time to load, only to crash
Twice: Sane thing as before
Three Times or More: it’s gonna take a long time to load, only to crash

And this is the error code that I got

LoginId:93ee13004753b54b949c96ab6ff67c89
EpicAccountId:ae0ea17668a7449a991dc01883c50805

Assertion failed: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Windows/D3D11RHI/Private/D3D11Util.cpp] [Line: 198] Unreal Engine is exiting due to D3D device being lost. (Error: 0x887A0006 - 'HUNG')

UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
UE4Editor_D3D11RHI
UE4Editor_D3D11RHI
UE4Editor_D3D11RHI
UE4Editor_D3D11RHI
UE4Editor_RHI
UE4Editor_RHI
UE4Editor_RHI
UE4Editor_RHI
UE4Editor_SlateRHIRenderer
UE4Editor_SlateRHIRenderer
UE4Editor_Core
UE4Editor_Core
UE4Editor_RenderCore
UE4Editor_RenderCore
UE4Editor_Core
UE4Editor_Core
kernel32
ntdll

I have no idea what to do to stop this from happening

I even have a snip of this error window thingy.

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks