Diagnosis typically begins with a thorough medical history and a physical examination. For recurrent or severe cases, further tests such as a urinalysis, urine culture, ultrasound, or voiding cystourethrogram (VCUG) may be necessary. These tests help identify infections, anatomical abnormalities, or functional disorders.