Absolutely. Plenty of medications for a range of conditions, including allergies and depression, can cause erection problems or make existing problems worse. Whether you see your regular family doctor or a urologist for erectile dysfunction, it’s critical that you inform him or her of any prescription medications, over-the-counter medications, and supplements that you take on a regular basis. If you are taking medications that are known to affect erection quality, your doctor may be able to prescribe an alternative medication that will have fewer side effects.