Diagnosing incontinence involves a comprehensive medical history and physical examination. Urodynamic tests may be conducted to assess the function of the bladder and urethra. Imaging studies such as ultrasounds, CT scans, or MRIs may also be used to identify any structural abnormalities.