My god you had to go to classes just the following week? I'm sorry, that is really unfortunate. I'm one month post surgery now, I still get some bad butt burn every few days if I ate something disagreeable. Find a diet that works for you and stick to it for a while. My doctor told me to go high fiber already and I cannot deviate very much from my whole grain breakfast, whole grain turkey or chicken sandwich for lunch, and my whole grain noodles with varying lowfat and non-tomato based sauces for diner. I deviated yesterday to disastrous consequences.
I was going 12 times just two weeks ago, now on good days I'm down to 7 or 8. It gets better and I pray it gets better from my vantage point too. I took some time off to deal with the transition. I go back to work next week. I can't imagine having to go to college classes the week following surgery.
To deal with really bad Butt burn at night when it prevents me from going to sleep I apply benzocaine (can be in oral gel form minus the menthol) to relieve the pain and allow me to sleep. You will find other things that work for you.