The drug , commonly known as Viagra, is a doctor-approved treatment primarily used to manage difficulty achieving an erection in men . Developed initially for cardiovascular problems , its unexpected side effects relating to the widening of blood vessels led to its subsequent use as an powerful solution for sexual dysfunction . It viagra gum works