Viagra, commonly known as sildenafil, is a drug primarily used to help erectile impairment , a condition where men have trouble achieving or keeping an erection . Beyond the primary purpose, it is sometimes employed off-label in the treatment of pulmonary blood pressure and certain medical condit