Chronic Masturbation results

Patient: Ok im newly married 33 year old man and just celebrated my 1 year anniversary not to long ago. i love my wife and want to have an avid sex life with her and make her happy (as well as myself). i know I have an addiction problem to porn and I have been weening myself off of it. I use to masturbate 2 times a day to the point it was ritual and I just had to or i couldnt sleep. Sex with my wife had to be a certain way or it was a no go. Right now I have been having erection problems where it won’t last. it’s not all the time but i was wondering could my excessive masturbating tricked my mind to the point that i should just stop it altogether to have a normal sex life with my wife.