Sexual abstinence is the only sure way to avoid gonorrhea, but this is often neither practical nor reasonable. Safer sex behaviors can reduce risk. The use of condoms, both male and female types, markedly decreases the likelihood of contracting a sexually transmitted disease -- but they must be used properly.
The condom should be in place from the beginning to end of sexual activity, and should be used EVERY time the person engages in sexual activity -- including oral sex -- with a non-monogamous partner or possibly infected partner.
Condoms are inexpensive, especially considering the potential consequences of contracting a sexually transmitted disease.
Treatment of all sexual partners is essential to prevent re-infection.