Is there any program which can fix hard drive problems?

Dear,
I use Western Digital 500GB Sata (WD5000AAKX) Caviar Blue hard disk drive in my desktop. Recently I'm having some bad sectors in it. Is there any program which can fix my hard disk drive? I need a program to fix hard drive immediately. Please help.
Thanks
