A thorough medical history and physical examination are essential for diagnosis. Your healthcare provider may perform a pelvic exam to inspect the vagina and surrounding areas. Laboratory tests, including a vaginal swab or urine test, may be conducted to identify infections or other abnormalities. In some cases, a biopsy of the affected area might be needed to rule out serious conditions like skin cancer.