The medication , commonly known as Viagra, is a doctor-approved treatment mainly used to address impotence in males . Developed initially for hypertension, its surprising side effects relating to vasodilation led to its new application as an effective solution for sexual dysfunction . It works by boosting circulation to the male organ , helping men