Viagra, or sildenafil, is a popular medication primarily used to address erectile impairment , a ailment where men have challenges achieving or keeping an erection of the penis . Beyond this purpose, it can found off-label in the management of pulmonary hypertension and specific medical issues .