I'm not sure about inpatient treatment, but I'm in a partial hospitalization program that's been incredibly helpful. It's designed to last about two or three weeks, long enough to stabilize in a crisis but not an ongoing thing. It's a much better option for me than being admitted to the psych unit. I get to go home at the end of the day but I still have access to plenty of support if I need it. There's group therapy, education about medication or coping skills, with some recreational and exercise stuff too- that's part of being healthy, so we're learning the importance of having fun and being active. If you're able to reach out for help instead of harming yourself, I'd really recommend checking into a partial program instead of inpatient- unless you're lucky enough to get a chance at one of the rare few trauma-focused inpatient programs.