Taking Viagra to prepare for pregnancy, is it really effective? 1. The effect of Viagra on male erectile function Viagra is a commonly used drug for the treatment of erectile dysfunction, and its main ingredient is sildenafil. It increases nitric oxide in the corpus cavernosum of the penis by inhibiting the activity of phosphodiesterase-5