Unless your doctor says it's OK, don't self-medicate during an ulcerative colitis flare.
Something you have in your medicine cabinet from a previous flare might've helped you in the past. But have those meds expired? And are they right for you this time? Check with your doctor first.