The drug , commonly known as Viagra, is a doctor-approved treatment primarily used to treat difficulty achieving an erection in viagra 500mg males . Developed initially for hypertension, its surprising side effects relating to the widening of blood ve