The only sure way to keep from getting gonorrhea is not to have sex. You also have a lower risk if you’re in a long-term sexual relationship with only one person and you’re his or her only partner. You can reduce your chances of getting gonorrhea by practicing safe sex, and by getting regular screenings.