From your description, It's clearly Internet porn use. Men under 40 are not supposed to have this issue. But many do these days because of overstimulating their brains with porn.
We have seen so many men with this problem, and the "experts" don't have a clue. They don't understand neurobiology of erections, or how Internet porn can alter the brain. So, it's porn, not masturbation that can do this to men. Even just watching too much can cahnge your brain. This is not psychological, it's brain changes
If it is porn, you need to learn about this condition and about others who have it, and have healed.
Here's the thread you should look at for porn-induced ED. If you control find - "palpateit", you will see my posts. The first 2 posts have links to presentations and articles about porn-induced ED.
http://www.medhelp.org/posts/Mens-Health/22-with-porn-induced-erectile-dysfunction/show/469209