Another important point about discussing erectile dysfunction with a doctor is the fact that erectile dysfunction may have a serious underlying cause, such as undiagnosed diabetes, heart disease, or prostate cancer, which might be revealed with medical interaction.