The drug , commonly known as Viagra, is a doctor-approved treatment largely used to treat erectile dysfunction in males . Developed initially for cardiovascular problems , its unanticipated side effects relating to blood vessel relaxation led to its subsequent use as an reliable solution for sexual health issues . It works by boosting blood flow to