My best friend overdosed

I need help from people who have experience with this because I totally don't.
My best friend is good person but impulsive. She likes to take risks. She doesn't think about the consequences but it was never that serious until the last week.
She missed a final exam and I was worried about what happened, i texted her but She refused to tell me. She said that she needs time and space so I tried to give her that.
And it's been like five days since what happened and she finally told me. She searched about a substance that you can find in coughing medications and she saw that some people use it to get an euphoria or whatever and she was curious. She wanted to try it. She impulsively took too much, like too much then she felt scared and a bit anxious so she tried to distract herself And ended up falling asleep. She woke up feeling so dizzy. She tried to stand up but she fell. She was so nauseous. Her vision was blurry. She was trying to call out for anybody. She was saying "where am I? Where am I?" Her sister and mom tried to help. She Puked everything that was in her stomach. Her eyes were wide open yet she was unresponsive, she felt like her head was underwater. She was crying and saying stuff like, "I promise I will change. I'll become better. This won't happen again."
Her dad took her to the hospital but they did not do much and then she went home. Her mom is apparently upset with her.
My girl is is scared that she might do it again, She says that she doesn't even know why she did it. She just did and she can't find a reason for why it happened.
It's worth noting that she never had anything to do with substances before. She told me that she's trying to change a lot of things in her life and personality and she can already see improvements. She told me that it'll never happen again, but I can't believe it.
I don't know what to do, I'm a bit dissociated and don't know how to process it. She might die if it happens again.

@Itswhatits here for you x

@Itswhatits
Find a support group for friends and family of people with addictions. And join it. The best way you can help someone is to help yourself be the best person you can be with the best info. And the best info comes from those who have done it themselves before you.
Best wishes. It is understandable you are a bit shocked. Its frightening. It is so caring of you to want to help your friend.

@Itswhatits
Hey 💙 I just want to start by saying that your friend is so lucky to have someone like you who truly cares about her well-being. I can hear how much you love her and how deeply this has affected you—and that’s completely understandable. This is a really scary situation, and it makes sense that you’re struggling to process it. 💔
It sounds like your friend had a terrifying experience, and I’m so grateful she’s okay. 🙏 The fact that she opened up to you, even after some time, is huge. That means she trusts you, and right now, she needs that kind of steady, non-judgmental support. 💕
I hear your fear that this could happen again, and I think it’s valid. When someone experiments impulsively like this and can’t fully explain why, it can be a sign of something deeper—stress, emotional struggles, curiosity mixed with a lack of understanding of the risks. Even if she wants to believe it won’t happen again, she’s scared too 😔, which tells me she might need help figuring out how to make sure it doesn’t.
You don’t have to have all the answers, but just being there for her, listening, and gently encouraging her to talk to someone who can help—whether that’s a counselor, a trusted adult, or even a support group—could make a big difference. 💡 If she’s open to it, maybe you could research harm reduction or ways to navigate impulsivity together.
And please don’t forget to take care of yourself too. 💜 This is heavy, and you’re carrying a lot of worry. It’s okay to have your own feelings about this and to lean on others for support too. You’re not alone in this, and neither is she.
Sending you both so much love and strength. You’re a good friend. 💙✨💪
Much love,
Kayla 💕🫶🏻