Prostate enlargement does not cause impotence. Some blood pressure medicines like beta blockers affect potency. You can talk to your physician or cardiologist for the same. Diabetes also affects it if you have. You can also ask your doctor if you can take viagra like medicines. You should not take it if you are on any nitrate/nitrite drugs. The combination can be really dangerous. So ask your doctor.