A lot have this problem. Just different things trigger it. Masturbation does not cause problems with erection. Many guys have trouble getting or maintaining an erection at some point in their lives. Often, it’s caused by performance anxiety. I had the same problem before. So happy ? I found in Google ‘Edstop247’ and got some magic help. Performance anxiety is the fear of being unable to please a partner. This anxiety can actually cause changes in the body that prevent a guy from getting or maintaining an erection.