How do I get over my venting and oversharing problems

I have a problem with venting and oversharing with people for multiple reasons

  1. I really really struggle with understanding who and when it’s a ok time to open up to people, and understanding when it’s an ok time to say something in general

  2. I have a loneliness problem. And i sometimes have done it in the past because i want to be close to others and feel comfortable around them.

  3. I have impulse control issues

  4. I sometimes vent and overshare as an attempt to explain myself, I over explain because it’s just a reflex I’ve learned from childhood because I’m autistic and people misunderstand me often and I just really desire to be understood and sometimes getting too personal is the only way I feel someone can understand me

It’s become a habit to the point I really struggle not to do it, or to even realize that I’m venting and catch myself before I do it.

I had a really bad time where I was texting my friend when they were drunk and vented to them, and it ended up triggering to them. I’ve also been told I “talk about my personal problems to often” and I really don’t wanna bum people out. I’m pretty young and I think if I keep this habit up it will have worse consequences for me when I’m older