Hello guys. I fucked up last night, make fun of me. (note: I'm 19 if it matters to anyone)

So, after finding this community, it took me almost a year to fuck a girl. And gotta tell you,it was nice after all the work. I left that girl 4 months ago, and just a few weeks later I broke a leg so I decided to go monk for a few months, you know, to harden my 'new' habits. I just took off my cast recently and in a few weeks i'll be able to train again, of which I'm really excited. Anyways, back to the story.

I met this new girl a month ago, and we've been seeing each other 5-6 times, playing pool, drinking beer and talking bout stuff. I kissed her on our first date, of which I'm also proud. The first time I took her home, I didn't have sex because she seemed really nervous to me that night so I didn't bother, we just made out alot and went to bed, and while we were tryna fall asleep, she told me she had never slept with anyone of which I was truly shocked, because she seemed like she knew what she was doing. Fast forward to yesterday, she invited me to her house ( literally out of nowhere, she lives out of town and inviting someone there is rare), and although her parents would be there I went, met them, they were cool and all, and here comes the boo. Although she was still nervous, I was alot more insistent 'bout stuff and after an hour we were all naked n horny. I grabbed the condom and as I put it my dick went so fucking soft I wasn't even sure if it was there yet. After 5 really embarrassing minutes of trying to get it back, I gave up and told her that shit happens sometimes and went to sleep. I tried to laugh it off and didn't apologize a million times to not look like the fucking pussy I am, but I was feeling really bad and didn't quite know what to do. She wasn't happy as well, it was as obvious as it gets. The thing is, that's happened with my previous friend as well and it sucks ass, it's either that I can't get my dick hard after I put the condom or I end in 0,5 seconds, how the fuck do I fix that, I want to fuck this girl's brains out but I literally can't.

Here's what I do from previous suggestions
-As much as I wish to say that I don't, I still watch porn but no more than once a week
-I have a healthy diet
-I drink fairly rare

Thanks for your help!