OK, so you got a replacement already, that was a good idea. How old is the HDD? Were the HDSentinel results verified by another disk program? For general health status and to confirm the Health is below 50%, you can install Crystal Disk Info. Or, again, do this in Windows:
Every disk drive and SSD dies eventually. Here's how to check its S.M.A.R.T. status and prepare for its demise so you don't lose everything.
www.pcmag.com
About CrystalDiskInfo A HDD/SSD utility software which supports a part of USB, Intel RAID and NVMe. Aoi Edition Standard Edition Shizuku Edition Kurei Kei Edition Download System Requirements OS Windows XP/Vista/7/8/8.1/10/11Windows Server 2003/2008/2012/2016/2019/2022 Architecture x86/x64/ARM64...
crystalmark.info
If the failing health is confirmed and the drive is already 6-7 years old, I would consider it rather risky to use as meaningful storage. They wear out, like everything else. If you put your ear to the external device, do you hear any clicking or other suspect noises?
As show_zi already said: there is no real repair to the physical sectors, you will continue to have them and the longer the drive is used, the more that will develop.