The drug , commonly known as Viagra, is a doctor-approved treatment mainly used to manage impotence in males . Developed initially for heart conditions , its unanticipated side effects relating to the widening of blood vessels led to its repurposing as an effective solution for sexual dysfunction . It works by increasing blood flow to the male orga