Diagnosis typically begins with a detailed medical history and a physical examination. Your gynecologist may perform a pelvic exam and may take samples of vaginal discharge for laboratory testing to identify infections. If an STI is suspected, specific tests for sexually transmitted infections may be conducted.