The drug , commonly known as Viagra, is a prescription treatment largely used to manage erectile dysfunction in men . Developed initially for cardiovascular problems , its unexpected side effects relating to vasodilation led to its repurposing as an effective solution for issues with sexual perfo