How to stop farting?

I have been getting excessive farts that are uncontrollable because of my stomach is producing too much gas, they don't smell but are very load. Its embarrassing because am in class everyday with a lot of people and i think they hear it but just keep quiet. I hv tried few ways but none help stop the farts. The funny thing is when am at home they aren't excessive or sometimes none. Please help!
How to stop farting?
Post Opinion