You’re not alone if your diet gets seriously derailed in the days leading up to and during your period. That time of the month—particularly for those coping with premenstrual syndrome (PMS) —can cause us to indulge in some seriously unhealthy cravings (French fries and ice cream for dinner, anyone?).

Studies have shown that women who consume adequate amounts of B vitamins riboflavin and thiamine have significantly lower risk of experiencing PMS. Add leafy greens and dairy to your diet for good sources of riboflavin, and load up on thiamine with whole grains such as oats, wheat and brown rice, as well as beans, peas and lentils.

MORE: What To Eat For Your Period