The manufactures software. In your case
https://support-en.wd.com/app/products/downloads/softwaredownloads
WD Drive Utilities
Western Digital Dashboard
It is expected that some sectors fail over time. The HD is provision with extra space to account for this. The SMART threshold is what you should look at.
And there goes the Video card market again. It was dumb when people blamed NVidia for the 4090 prices going up. Watch as everyone changes their narrative. Hypocrisy is a hell of thing.