That doesn't necessarily mean the drive is dead.
Download a bootable disk utility from the HDD manufacturer, like Seagate or Western Digital etc... If you don't know what it is, just try one either will at least tell you what the drive model number is and you can figure it out from there. That should help you determine if the drive is really the problem.
If the drive shows OK, try MEMTEST (also downloadable as a bootable ISO file) to check out the memory CPU system.
Those two sets of utilities will catch 90% of computer failures.
For the other 10%... start yanking extraneous hardware, leave USB stuff unplugged, pull PCI cards and what not. Swap known good parts... then shoot the thing with the nearest firearm.