my dog used to get colitis, I found it lasted a few days usually, if I didn't change his food or give him many treats it rarely occured!........hope your dog is fine soon!.........
Weeks if you dont treat it, but your dog will probably always have the underlying condition, and you may need to change his food accordingly. You will soon learn what treats suit and what dont by the reaction.