Commonly known as, Viagra functions as a prescription medication primarily utilized to treat erectile impotence , also described as male inability to achieve an erection . It works by increasing blood flow to the male organ , which facilitates a firmer and more sustainable erection sufficient for i