Bad sectors are physical damage to your HD.
If you got a lot of them it is time to backup the data en get a new HD.
This is not caused by Avast.