The medication , commonly known as Viagra, is a doctor-approved treatment mainly used to treat difficulty achieving an erection in males . Developed initially for hypertension, its surprising side effects relating to the widening of blood vessels led to its new application as an powerful solution