Feel like a bad person (got drunk)

So first of all I’m not great at handling my alcohol and can get abit silly and emotional and act like an idiot. Not all the time but sometimes I’ll drink to much and go to far. I don’t go out a lot. Anyway I went out for my friends 30th on Saturday night, shes a school mum friend iv been getting friendly with the past year. I don’t remember much from the end of the night, only that I left crying after abit of an argument. I was then told I was a nightmare, constantly moaning at my friend and bitching about her, apparently. Although my husband was there and said I was fine. I can’t defend myself because I can’t remember. The only thing I remember is when she gets drunk she gets mean and cocky to people. She made me feel stupid a few times with a few comments. So I must have got pissed off with it and after a good few drinks giving me the confidence I must have had it out with her and had a moan. We’ve spoke about it, iv apologised and said I didn’t mean it and she’s ok. But I feel so shitty, like iv ruined everything and they don’t like me much anymore. Iv been feeling so down and anxious about it all! I hate feeling like iv let people down or they see me differently now! I feel like the best thing to do is just back away and not have friends! I definitely won’t be drinking again!