Yes, certain high blood pressure medications can indeed affect erectile function. Medications like beta blockers and diuretics are known to potentially cause sexual side effects. It’s important to discuss this with your healthcare provider as they might adjust your medication or suggest alternatives that own a lower risk of causing erectile dysfunction. Additionally, there are lifestyle changes and other treatments that can help manage both your blood pressure and sexual health without compromising one for the other.