Viagra, or sildenafil, is the drug primarily prescribed to treat erectile impairment , a state where individuals have trouble achieving or keeping an firm erection. Beyond this purpose, it is sometimes employed off-label in the management of pulmonary blood pressure and certain medical conditions