"is there no other option other than replacing the hard disk."

The hard disk is giving you fair warning it's getting ready to fail. You can continue if nothing of value is on the drive or you can replace it before it fails.

The choice is yours. There are some that will turn the notification off but that seems foolish.