<human>: Give me the gist of the text in a nutshell

Ok, so this is the story. I have been trying to make friends with a new bunch of people I met a few months ago, hanging out with them etc. One of these people had a girlfriend. I didn't think of her as much, but one night when I was drunk and she was drunk, she texted me a bunch of hot things including a hot picture of herself. I then text her a picture of my dick back. (This was a really stupid thing because, I have a girlfriend and I was betraying that guys trust). Anyway, that was months ago. I regretted it deeply, but never thought of it again. Saturday, these same people had a party which I couldn't visit because I was ill. This girl told everyone at that party what I sent her, but didn't include the fact that she was texting me in a 'sexy' way. My 'friends' already made their mind up, and told me to fuck off and said it was a horrible thing I did. This was yesterday. I apologised, realised I ruined everything, and now I am friendless. My girlfriend has forgiven me, which is a miracle. I don't deserve her in any way after this, but I am glad she has forgiven me. Now my question to you Reddit, is, what do I do? I want to earn their trust back, I want to have friends, and not be lonely. As far as I know she only told everyone about the picture, not showing/sending the picture onward to anyone. I am a 20 year old male, and I am shivering and feeling sick while typing this, as I don't know what to do. Please, I need some advice.
<bot>: Texted girlfriend of one of my friends, sent a dick picture, fast forward months after and said (ex)girlfriend now tells everyone that I sent her that picture, losing everyone in the process. Wat do?