I am suffering from erectile dysfunction from 22 years due to excessive mastrubation

Patient: I am suffering from erectile dysfunction from 22 years due to excessive mastrubation now at 27 age I don’t get erection during foreplay with gf. how can i achieve an errection to have penetrative sex?

Doctor: