Diagnosis typically involves a thorough medical history, a physical examination, and various tests. These may include a urinalysis to check for infection, a bladder diary to record urination patterns, and specialized tests like urodynamic studies to assess bladder function.