Viagra, officially known as sildenafil , is mainly prescribed to address erectile impotence , a condition where males experience trouble achieving or maintaining an erection sufficient . Beyond this be sometimes used off-label for treatments like pulmonary arterial hypertension . While helpful fo