Diagnosis typically begins with a thorough medical history and physical examination. A gynecologist may also order tests such as urinalysis, urine culture, bladder diary, and urodynamic studies to assess bladder function. Imaging studies, like ultrasound or cystoscopy, may be used to visualize the bladder and identify any structural abnormalities.