Diagnosis typically involves a pelvic exam, during which the healthcare provider may observe signs of inflammation or discharge. Laboratory tests, such as Pap smears and cultures of cervical discharge, can help identify the causative organism. In some cases, additional testing for STIs may be necessary.