The medication , commonly known as Viagra, is a prescription treatment mainly used to address difficulty achieving an erection in males . Developed initially for cardiovascular problems , its unexpected side effects relating to blood vessel relaxation led to its subsequent use as an powerful solution for issues with sexual performance. It works by