Often just unplugging the device and making sure the computer is at rest, then plug it in again will fix the problem.
If the hard drive is knackered, all is not lost. It may just be an electronic mishap, take it to a techie and often they can temporary stick the actual platter in another drive and save your valuable info but you'll have to fork out some moolah.