The medication , commonly known as Viagra, is a doctor-approved treatment primarily used to treat difficulty achieving an erection in men . Developed initially for cardiovascular problems , its surprising side effects relating to blood vessel relaxation led to its repurposing as an powerful solution for sexual dysfunction . It works by boosting cir