Certain medicines can cause or contribute to erection problems. Because of this you should tell your GP about all medicines you’re taking, even if you don’t think they could be causing the problem.
You should not stop taking any medicine your GP has prescribed; it may not be the cause of the problem. If you are concerned that your medicine is affecting your sex life, talk to your GP.
Diabetes
If you have diabetes you are more likely to have problems with erections than men who do not have diabetes. This may be due to the damage that diabetes does to small nerves and blood vessels over time. To get and keep erections long enough for satisfying sex you need healthy blood vessels and healthy nerves.
If you have diabetes you may have problems with erections at a younger age than men without diabetes.
Having low levels of male hormones or a hormone imbalance
Occasionally, a hormone imbalance is the cause of erection problems. This imbalance could be due to low levels of the male hormone testosterone, or higher than normal levels of prolactin, a hormone produced by the pituitary gland.