Yes of course.
You will need to fix the operating environment: cables, connections, power source and so - which are frequent cause of both performance issues and weak sectors.
Then you can repair the weak sectors by Disk menu -> Surface test -> Disk repair test.
Please check Support -> Frequently Asked Questions -> What is a weak sector? How to repair weak sectors?
which describes such situation, gives information about what are these sectors, how these may occur (usually not caused by the hard disk itself) how they can be corrected and how to avoid them generally.