Hello RITESH, welcome to the Microsoft community, I'll be happy to help you today;
I understand you are getting code 31 in the NVIDIA driver;
What exactly is your video card model?
Initially I recommend that you go to the NVIDIA website and download the latest driver for your video card:
https://www.nvidia.com/Download/index.aspx
Update your Acer drivers by entering serial number, SNID or model number:
https://www.acer.com/ac/en/US/content/drivers
Check Windows Update for system updates and do any pending updates;
Check if the problem is fixed;
I hope I have helped, see you soon!