Bloating/smelly gas

I tend to be very gassy a day before my period and it usually lasts until the 3rd day... it is really embarrassing at work/social gatherings. If I eat anything, I bloat and have bad really smelly gas! Any suggestions on foods I can eat/avoid that would help?