You don't have to do something drastic to go inpatient, so please try talking to someone before you do - what if you hurt yourself and you don't survive?
You can go to A&E and explain to them how risky you're feeling. I can say that (if you're an adult) going inpatient almost certainly won't stop your struggles as adult IP support tends to keep you safe in the moment and most treatment is provided just through medication. To get treatment, it might be better to ask about psychotherapy treatment - some areas offer specialist treatment for people with complex difficulties that will be quite intensive, and really quite helpful if you work really hard at it.
Good luck.
|