There are many pathogens that cause cervicitis, and you need to choose anti-inflammatory drugs according to the type of pathogen, such as cephalosporins and tetracyclines. 1. Cephalosporins: If cervicitis is caused by Neisseria gonorrhoeae, cephalosporins are commonly used, such as ceftriaxone sodium or cefotaxime. Patients who are allergic to cephalosporins should be prohibited from using them. 2. Tetracyclines: If cervicitis is caused by Chlamydia trachomatis, tetracyclines, such as doxycycline or minocycline, are commonly used. Those who are allergic to tetracyclines must be prohibited from using them. The above drugs must be used under the guidance of a doctor, do not self-medication, so as not to cause adverse consequences.