Oxybutynin is the generic form of the brand-name drug Ditropan, which is used to treat overactive bladder, a condition where the bladder muscles contract uncontrollably and cause the urgent need to urinate frequently.