Download the same Windows version which is installed on your pc now usually will downloaded in ISO file extract the iso file to new folder in any location on your HDD/ SSD ..better to another partition
open the folder and run Setup.exe
Windows will install over the current installed version as upgrade .
this will complete and fix errors , problems your PC has.