Viagra, or sildenafil, is the treatment primarily intended to address erectile impairment , a ailment where males have difficulty achieving or sustaining an erection . Beyond this purpose, it has also found off-label in the management of pulmonary blood pressure and specific medical conditions .