Your description of the problem indicates an issue with the graphics drivers, the best option is to completely remove the current Nvidia device driver using the widely available free DDU utility, then restart your PC and go to the Nvidia website to download and install a couple of slightly older version of the Nvidia device driver to try to find a version that is stable on your system.
https://www.nvidia.com/en-us/drivers/
.
.
.
Standard Disclaimer: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.