Critical Hard Disk Drive Error

My system hard disk is not working properly. When I start my system some time my window start properly and some time it shows that hard disk drive is not attached properly then I check jumpers and then attach it again and start my system. Then it works. I change data cable but I can’t remove problem if any one know its solution tell me.

Critical Hard Disk Drive Error
System Recovery detected a bad sector on your hard disk drive. This error may cause the following problems:
Data corruption and loss
Hard drive inaccessibility
System errors and failures
Fix Problem Cancel
