Windows 10 includes DirectX 11 and 12 natively. Microsoft constantly updates DirectX through Windows Update.
Post your dxdiag output in forums like Tom’s Hardware, Reddit r/techsupport, or the official support forum for your game. Include your exact GPU model and driver version. Shader Model 5.0 Download Windows 10
After updating drivers, verify that SM5.0 is active. Windows 10 includes DirectX 11 and 12 natively