@FunnyTummy0020
To answer your questions ...
You can not repair a failing drive, you have to replace it.
A system reset will accomplish nothing to address this because that is only software and this is a hardware failure.
A system reset is most likely to erase all the files, so you will lose everything in the process.
Once you have the replacement drive, read this information about HP Cloud Recovery:
If your PC is a 2016 model or newer, you should see if you can make a bootable USB recovery drive using the HP cloud recovery tool on a working PC.
The recovery drive can then be used to install Win10 and the HP drivers and utilities that originally came with your PC.
Here is the link: https://support.hp.com/us-en/document/c06162205
I am a volunteer and I do not work for, nor represent, HP