Hello there,
first of all mastrubation doesnt cause
erectile dysfunction. Mastrubation is sex without any female partner just like natural sex but with no partner.
second reaching satisfaction early is not abnormal after all. Time required to reach orgasm(satisfaction) normally vary between 30 second to 30 minutes, both value lies with in normal limit. Lot of things alter the time like anxiety, tension,
depression, lack of privacy. You can increase this time by avoiding anxiousness, altering frequency of sex, good helthy diet, regular exercise. If anxiety or depression is mild to moderate you need 6-8 month course of anti-depresssant, anxiolytic medications, which definatly improve your sex life.
Third require more information about erectile dysfunction, like whether you got early morning nocturnal erection, does you have natural desire for sex, feeling, imagination about sex, after which is there penial erection or not?
Fourth whether you suffering from condition like
diabetes,
hypertension, had history of fall, injury to
spinal cord,
head injury , also you taking certain pill which have adverse sexual side effects(like antihypertensive).
Human sex is conditioned by lot of social clues, highly sensitive for stree, anxiety in men particularly. smoking drinking also affect adversly avoid that thing.
YOU should consult to
psychiatrist for detail evaluation.