The medication , commonly known as Viagra, is a doctor-approved treatment mainly used to treat erectile dysfunction in males . Developed initially for heart conditions , its surprising side effects relating to vasodilation led to its repurposing as an effective solution for issues with sexual performance. It works by boosting blood flow to the peni