Which Mac do you have?
What version of OS X?
How are you trying to reinstall (recovery partition, or external device/flash drive, etc)?
You said it happened before... How long ago, and what did you do to get it working again?
If you are booted to the recovery partition, and go to Disk Utility, do you see your hard drive - and can you repair it then?