If your PC or laptop has multiple graphics adapters, it could be that Windows is choosing the incorrect one for your games. This is more common with gaming laptops, as bypassing the discrete graphics card on desktop PCs requires plugging the display cable into a different port. To fix this, head into Windows settings:
Open Settings by pressing Windows + I.
Select Display from the right pane.
Scroll down to Related settings and select Graphics
You will see a section called Custom options for apps, with a list of apps. Set any games in this list to High performance, telling Windows to use the discrete graphics card in your system rather than the integrated graphics adapter.
Find the game in the list, select Options, then High performance. It should also mention your graphics card name in the options list. If your desired game isn’t on the list, select Add an app, Desktop app, or Microsoft Store app to search for it. Once the new game is in the list, set it to use High performance as before.