If you're just going to reinstall your operating system (depending on the system), you can use the operating system CD to perform this.
You can also use diagnostic software provided by the hard drive manufacturer. Do you know who manufactured your hard drive...and what the model number is?
I can then provide you with a link to download the software you need to do this.