Bro, I had the same experience.
The girl was laying on my bed, sexually aroused after all the teasing and kissing I did, I was actually trying to prolong the foreplay because I couldn't get myself hard. In the end, I took it out, trying to get it hard while putting on a condom, but my dick was...