The inability to get or maintain an erection firm enough for sex is called erectile dysfunction. It is a common problem in patients with diabetes. Long term poor blood sugar control damages nerves and blood vessels. It is important to discuss the problem with medical professionals. don't hesitate in asking the doctor. Good lifestyle choices like smoking cessation, weight loss, regular physical activity and limiting alcohol intake can improve erectile dysfunction and health. The treatment options include oral medications, vacuum constriction devices, and penile implants.