Astronomy can be a great part of academia to be involved in. However, it (and academia in general) can also be isolating, depressing and frustrating. Lots of astronomers (and other academics) suffer from mental health problems (it's not just you), here's a few posts on the subject.
- A list of astronomer John Johnson's posts on mental health and his own battles
- An article from Science magazine on mental health and science careers
- A list of articles on depression, mental health and academia from Depressed Academics
- Feeling like an imposter? You probably aren't, read this Nature article
- Some academia and mental health resources from The Professor Is In
- Taking a mental health break from my dissertation
These are just a short series of links, if you are having mental health issues, talk to your doctor many univerisites also run conselling services. Also if you are having suicidal thoughts, call an organisation like the National Suicide Prevention Lifeline (US) or The Samaritans (UK).