Viagra, generically referred to as sildenafil, is a popular medication primarily used to treat erectile dysfunction , a ailment where men have challenges achieving or keeping an erection of the penis . Beyond the primary purpose, it is sometimes employed off-label in the treatment of pulmonary blood pressure and certain ailments. However that Viagr