Dear sir,
From your history i came to know that your erection was adequate during foreplay. But you couldn't get it when you try to wear condom or try to penetrate. Don't worry , this will not be a big problem, because this is a common problem faced by youngsters during first few attempts.
Since you enjoyed your foreplay without any fear/anxiety/guilt, your sexual arousal was not distracted. so you got good erection initially. But soon after you search for the condom and getting ready for sexual intercourse you might have developed little anxiety related to your performance.And there might be some gap in your on going sexual arousal at the time of searching or wearing the condom. This performance anxiety and some interruption in your on going sexual activity surely distract your arousal. Any disturbance in your sexual arousal will decrease the quality of erection and further worsened by your disappointment of not having erection.
This type of erectile difficulties are common during first few attempts especially at this adolescent age. Don't become panic about your problem, because excessive worries/doubts/guilt about sex further worsen your problem. "Please remember, one time failure is not equal to loss of sexual potency. And this doesn't indicate any major dysfunction in your penis or nervous system".
I suggest you to spend more time in foreplay and continue it without any fear of performance. And make sure the safety of your place, because fear of being caught by parents also can cause such problems. Do some relaxation exercise like deep
breathing exercise whenever you feel anxiety. Finally, the only one organ which is totally controlled by our thought or fantasy is penis. So be relaxed ,nothing big to worry.
i would like to appreciate your attitude towards sex like wearing condom to prevent
teen pregnancy and sexually transmitting infections. Thank you.