Viagra, generically referred to as sildenafil, is the drug primarily used to treat erectile impairment , a condition where men have trouble achieving or keeping an erection . Beyond the primary purpose, it has also employed off-label in the management of pulmonary hypertension and certain ailments. It’s important to note that Viagra acts by impro