Site crashing frequently

My site is crashing frequently, with a “Error establishing a database connection” message.
My questions are:
1. How can I identify and remedy the cause?
2. Can I set up an alert so I am notified when it happens?
3. Is there any way to set an auto reboot mechanism for when it does?
thanks, Neil.