Your HD maker will have a free disk checking utility
The in built chkdsk utility has some options - see win help & support.
Utilities do not repair the HD (or rarely do), they simply mark the bad sectors to prevent them being used.
Personally if i found damaged sectors I would regard that drive as suspect/failing and would only use it for stuff I could afford to lose