How not to have erections?

I'm sure there are surgical procedures. However, I don't see why you wouldn't want to have a erection. One way is not to have sex and/or sexual enjoyment!

It is possible to use female hormones and/or androgen blockers to stop erections. For transsexual women, erections are annoying and remind them of the unwanted parts, so usually the loss of erections from the hormones is welcomed. Then after surgery, the only erections they could have would be from the clitoris. There are transgendered persons who are not transsexuals, and they may take hormones for recreational reasons and hate losing their male sexual abilities. In that case, adding certain progestins or getting plastic surgery instead of taking hormones might be alternatives for them.