Does erectile dysfunction (ed) means loss of interest in sex, lack of vigor or sterility?

Not sterility. Most men with erectile dysfunction still have good fertility, but lose the ability to develop or maintain an erection.
ED-loss of erection. Ed simply refers to inability to have a satisfying erection. Erectile dysfunction can be trreated. Inability to get an erection, maintain an erection through the sex act or inability go have a satisfying erection are all attributable to ed. If there are problems with getting, quality of or maintaining an erection, see your pcp or urologist for assessment.