You have posted your question in the Intel Compute Stick community, which is unrelated to laptops and hard drives.
If the hard drive is about to fail, you should backup your data immediately. You may also want to take an image backup of the existing hard drive and restore it to a new drive.
Also, I have moved your post to the General Discussion community.
Hard drive dies eventually. It is important to back crucial files up to external drive, NAS or USB drive. If you want to keep all contents the same on new hard drive, it is suggested to create a disk backup for your current HDD, swap the hard drive with a new one and then restore the image to the new disk. In laptop, a bootable device is necessary. Or, you can clone from this old hard drive to new disk directly. Then, a USB adapter is necessary.
If you prefer to do clean install, just backup the files you care most.
This message was posted on behalf of Intel Corporation
I would recommend to follow Al's advice about backing up your data and replacing the drive as soon as possible. As far as I am aware, a mechanical drive cannot be repaired or worthwhile.
You may want to consider upgrading to an SSD (just confirm your laptop supports it).
Please don't hesitate in contacting us if you need further assistance.