The drug , commonly known as Viagra, is a doctor-approved treatment primarily used to address difficulty achieving an erection in males . Developed initially for heart conditions , its unexpected side effects relating to vasodilation led to its subsequent use as an effective solution for sexual h