Reset the BIOS to default while in the System Setup menu.
IF the hard drive is not recognized then most likely failure has occurred.
Power the desktop down and remove the power.
Check the power and data cable are securely connected to the hard drive.
Most likely time to replace the hard drive.