Diarrhea before class

I just started my first semester in college and before I go to class I’m always nervous and have to run to the bathroom. I’m already on anxiety medication and have had problems with loose bowels due to nerves but it’s happening everyday