Diagnosis begins with a comprehensive medical history and a physical examination. Your healthcare provider may perform a pelvic exam to look for signs of infection or other abnormalities. Laboratory tests, including urine analysis and vaginal swabs, can help identify infectious agents. In some cases, further tests such as pH testing or Pap smears may be necessary.