Hello, I am 20 years old and I have some issues about erection.

Last week I had my first sex. It was not an usual experience. The girl was much more experienced than I was and during the 2 days while we stood together in a hotel room she wanted to have plenty of sex, with minor pauses between them (a bit exausting for me I should say).

The first act was not a problem. I had a healthy erection for plenty of time. I didn;t experience any first-time problems like premature ejaculation or anything similar. The fact was that I couldn;t cum during penetration and needed to masturbate to cum.

The second time was similar, though I managed to let her be the one to trigger the ejaculation, though only through oral sex.

The third time was the issue. After 10 minutes of healthy erection, i started to be a bit senseless during penetration, and i started to slowly loose my erection until i had it completely dead. I tried to get it up again but couldn't... I was afraid and ashamed of myself in the same time. After removing the condom i went to the bathroom and managed to get an erection through masturbation..though not a very solid one.

The fourth time....i couldn't even get it up in the first place. Then we had a pause of 4-5 hours and got home again.

The fifth time was ok... I had a solid erection though, curiously enough, this time I was on the edge of facing premature ejaculation. The fact was that i needed to masturbate while kissing her to get it up...not an erection provoked just by her sexual presence like the first times.

The following times were similar...sometimes I was on the edge of having a premature ejaculation, other times I had trouble maintaining the erection.

Also, I have to admit that I masturbated frequently since I had 12 years old. On average...2-3 time a day. However I didn't have any erection problems all this time. At 19, however, I observed something unusual when I was masturbating. Again, after 5-6 minutes of healthy erection, it started to be senseless and slowly got flaccid. I couldn't get it up for another 4-5 minutes, but afterwards it was up again. It didn't happen all the time though.

I talked to her and she told me that she thinks the problem is that while having sex with her I desperately wanted to prove that I was good in bed and this made me neglect my sensations during sex.

My concern is about the cause of the erection dysfunction. Is it anatomical or psychologically induced by frequent masturbation or inexperience?

Thank you !