Gonorrhea and chlamydia are two types of STIs. STIs are sexually transmitted infections. You can get an STI by having sexual contact with an infected person.