You may want to consider replacing the 2.5" mechanical hard drive with a better performing solid state drive (SSD).
I also believe that your notebook has a M.2 slot and that slot supports SATA M.2 SSD's so that is another drive option for you.
After you replace the drive (either way), you can use another Windows PC running W7 64 bit or newer to create a bootable USB recovery drive with the HP cloud recovery tool that will reinstall W10, the drivers and the software that originally came with your notebook.
Here is an info link for how to use that utility...
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".