Viagra, commonly known as sildenafil, is a popular drug primarily prescribed to treat erectile dysfunction , a condition where males have trouble achieving or sustaining an erection of the penis . Beyond the primary purpose, it is sometimes employed off-label for pulmonary blood pressure and other ailments. However that Viagra functions by enhancin