The pill, commonly known as Viagra, is a prescription treatment mainly used to treat impotence in males . Developed initially for heart conditions , its surprising side effects relating to blood vessel relaxation led to its subsequent use as an reliable solution for sexual dysfunction . It works by enhancing the amount of blood to the male organ ,