The medication , commonly known as Viagra, is a prescription treatment mainly used to treat impotence in males . Developed initially for cardiovascular problems , its unexpected side effects relating to blood vessel relaxation led to its new application as an powerful solution for issues with sex