Diagnosis typically begins with a thorough medical history and physical examination by a healthcare provider. They may ask about recent sexual activity, personal hygiene practices, and any other symptoms that may be present. Sometimes, a pelvic examination is necessary to check for signs of irritation, infection, or other abnormalities. In some cases, lab tests such as a swab test or urine test may be conducted to identify the exact cause.