From both of your descriptions, you may have porn-induced ED
It's always good to see a doctor to rule out another cause, but they know little about porn-induced ED. Many young guys are now coming down with this.
On our recovery forums, we have men in their teens with porn-induced ED. Chronic erectile dysfunction is NOT a problem for men under 40 - or at least it wasn't until Internet porn arrived.
Your problem is in your brain, not your penis. ED caused by porn is not psychological, it is structural and biochemical.
Internet porn can become an addiction, and with all addictions the brain changes, or adapts. It does not matter if the addiction is to a substance or whether it is a behavioral addiction, the same brain changes result.
Today's internet porn is nothing at all like our ancestors ever encountered, with the constant novelty and genres of extreme porn. Unlike yesterday's Playboy, Internet porn overstimulates the brain structures responsible for libido, erections, and addiction.
Brain changes include a drop in dopamine receptors in the reward circuitry. Reducing the amount of dopamine receptors decreases your pleasure response to "normal" stimuli. In other words, real-life sexual partners and previous porn won't excite your brain enough to get your penis going. Turning on dopamine receptors is how you get turned on.
Here are two excellent presentations, by a science teacher, on the effects of pornography on the brain. They are non-religious, non-judgmental, and science based. Also, two articles on the subject.
Erectile Dysfunction and Porn:
http://yourbrainonporn.com/erectile-dysfunction-and-porn
Your Brain on Porn - Porn Addiction:
http://yourbrainonporn.com/your-brain-on-porn-series
“How I Recovered from Porn-related Erectile Dysfunction”
http://yourbrainonporn.com/how-i-recovered-from-porn-related-erectile-dysfunction
http://yourbrainonporn.com/as-porn-goes-up-performance-goes-down
As Porn Goes Up, Performance Goes Down?
good luck
hi i have a same problem. masturbation is not a good thing.we dont realise this but its a slow death. soon one becomes impotent. masturbating once a month is not a problem.