The pill, commonly known as Viagra, is a prescription treatment largely used to treat difficulty achieving an erection in men . Developed initially for heart conditions , its unexpected side effects relating to vasodilation led to its subsequent use as an reliable solution for sexual health issue