Wd 400 internal drive 08- error was detected while reparing bad sectors

i am using a wd 400 cavier blue hd drive

all of the sudden it started  making a clicking sound … i have been unable to find out what this error is

does anyone have any ideas

this is a home built… i have had the drive for about 3 years so it is out of warranty… any suggestion would be great

i am not computer savy… i build the computer from a book and it has been working everysince

thanks

It seems that the hard drive found in is selftest part of the media with bad sectors

If errors are detected while repairing bad sectors, the drive needs to be replaced.