Diagnosis typically involves a detailed medical history and a physical examination. The healthcare provider may ask about the nature, duration, and location of the pain. Diagnostic tests such as pelvic exams, ultrasounds, or cultures may be conducted to identify any underlying conditions.