You don't. It involves replacing the hard drive.
These are signs that a problem will be developing in the near future. Therefore make your back-ups now and keep them up to date before the inevitable happens. Therefore when the drive does fail, you have all the important stuff safe.