You may want to consider replacing the 2.5" mechanical hard drive with a better performing 2.5" solid state drive (SSD)>
After you replace the drive, using another Windows PC with W7 64 bit or newer, use the HP cloud recovery tool to create a bootable USB recovery drive 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".