Erectile Dysfunction: Sir, I am 38 yrs and married for the past 8 yrs. Bcuz of my job style, i stay separated from my wife and we stay together for an average of 30-45 days in a year.Till now I always had a proper erection and my erection lasts for long. Even I do masturbate (when alone, by seeing pronographic material)regularly. Recently I came across another woman (wife of my friend), who looks very gorgeous and attractive than my wife, and she was sharing accommodation with me.I had a lot of inclination towards her and I was always having an erection while talking with her, or while looking at her. I proposed her for sex, but she never agreed upon. In another occassion, she was traveling with me in a long distance train journey and we sat close to each other and talked for the whole night and I had constant erection for more than 4 hrs. The very next day,she went to her home and I reached my home and when I tried to have intercourse with my wife, I found difficulties in erection which I had never faced earlier.My wife too was shocked and four days have passed, I am unable to have a proper erection. Please help me.
Is it because of
1. I had an erection for prolonged duration in the train?
2. Or I am inclined to some other woman who is beautiful and gorgeous than my wife ?
3. Or I do excessive masturbation?