Hello @Pablo_Molina, and welcome to the forum!
Reinstalling Krita is, in well over 99.999% of all cases, the most pointless action in the world, because the settings files, which can occasionally but rarely be corrupted, and the resource database, which can be corrupted a little more often, are not in the Krita installation folders.
You can try two things, firstly you can recreate the kritarc file, where most of the settings are stored. To do this, enter %LOCALAPPDATA% in the address bar of the Explorer and confirm this with the Return key, this will take you to your local user directory. There you scroll to the end of the folder where you find the file kritarc, do not go to the folder krita, please move the file kritarc to the desktop for the time being. Now start Krita, Krita will rebuild this file from scratch, if you are lucky Krita will work again.
And if Krita works, you can delete that file.
If not, then enter %APPDATA%\krita\ in the address bar of the explorer and confirm this again, this will take you to Krita’s resource folder. There, you also go to the end of that folder and move the file resourcecache.sqlite to the desktop. Now start Krita, this file will be rebuilt too, if you are lucky Krita will now work again. And if Krita works, you can delete that file.
If both did not help, please report back here in the forum and tell us what did not work or where you got stuck. Did you download the newest version from Krita’s website or did you install the version you downloaded earlier, the version you worked with so far? And if you didn’t download the most recent version now, which version have you installed, do you know that?
Michelist