You will need to provide a little more info about the problem than that.
For example, what type and brand? How old? What precipitated the problem? What Motherboard (thus hard drive controler)? Is it making noise? What exactly do you mean by "not recognized?
All we can do without that info is guess.