I mess up a group homework and my friend is angry with me. I can't stop crying and I don't want to go to class, I can't even study right now, I just feel awful. I'm a grown up woman with a child brain, insecure af and really afraid of abandonment... I'm so stupid

I'm just paralyzed and can't calm down, what should I do? I really want to cut myself rn but my mom is downstairs, I don't want her to take away my blade...