I'd look into seeing if you have the option of going to a partial hospitalization program (PHP) or an intensive outpatient program (IOP) in your area. Some of the intensive outpatient programs are quite good even when for a general pollination and most are better than an acute general inpatient psych unit.
If there are no such options like that, you can also look into to a specialized trauma treatment inpatient unit like Sheppard Pratt or McLean or others - there are a handful of them in them in the US.
I'd take almost any PHP, IOP, or specialized inpatient unit over an acute general inpatient psych unit any day.
Acute general emergency inpatient psych units vary wildly in how they are structure and run from area to area in the US. In general, they are better than death, might help get meds stabilized and possibly connect up with a greater level of outpatient care, provide some very basic groups for a couple of days. They almost always allow contact with outside family and visitors that the patient would like to have.
At worst, they can trigger trauma patients very easily and be retraumatzing. My therapist says they are good when someone is sucidial and can't keep themselves safe, and needs the safety of a locked facility to stay alive until more help can be set up as an outpatient afterwards. And that's about it.
So if you are able to stay alive and safe enough to set up more onetime outpatient care, or to get into a trauma focused inpatient program, I'd recommend trying to shoot for those options from the get go.
The IOP and PHP programs tend help a lot more with long term recovery. Some will run every other day, some are every day. Many are step down programs for folks coming out of the hospital. Your peers in any IOP program will tend to be more functional and stable and etc, and the work will be more practical and useful for the long haul.