What is the most logical next event?

How to avoid going to a mental hospital
Seek treatment.
Try to look at yourself and your situation from an unbiased point of view. Even if the idea of going in for professional help is scary or uncomfortable, it will likely help improve your quality of life.
Try to keep an open mind on the subject, and if possible, make the decision for yourself. Seeking psychotherapy from a mental health professional can help you avoid the more drastic measure of entering a mental hospital.