I'm assuming windows 7 is on the system and I also assume the error code is 2000- 0151
The error code means there's an issue with the hard drive, and most likely needs to be replace with a new one. You could reseat the hard drive to see if that will make any difference.
If reseating the hard drive doesn't fix the problem:
Please click on the link below and select Hard drive. You'll be able to see the prices of new hard drives that fix the specification of the system.