I really need some advice

In August I just started college and everything was fine up until a couple weeks after the first day. A couple weeks after I notice that I started to have really bad gas like so bad that every couple of minutes I needed to fart. And at first I didn't think it was affecting my life but now it is. I can't sit in a classroom for long without worrying about possibly farting and someone behind me smelling it. It's also hard to hold it in when apparently it's going to slowly easy out anyway. This situation is really just ruining my life. People around me think I stink and don't take a shower because of this. But i do!  It also have gotten to the point where I get really bad anxiety when sitting in a classroom or being around other people. Do you guys have any advice or tips for me?