May need to reinstall your operating system.
A few things could cause this.
1) You had a nasty virus and it deleted your os or badly messed it up.
2) Your harddrive is shot.
3) Your motherboard is shot.
4) You did an upgrade of the operating system and it didn't work well.
What operating sytem were you using? Post some details and you will get a more detailed answer.