A side effect of some pharmaceutical medications is erection problems . Check with your physician if you are concerned about a medication you are taking.