How do you handle binge eating when on your period?

Sydney • Not looking for kids now but definitely in the future.
I'm usually really good any other day, but whenever I'm on my period there will be times where I can't help myself and I end up binge eating until I'm about to puke. I'm trying to live a healthier lifestyle and lose a bit of weight along the way. I know snacking is okay here and there as well and it's not good to restrict yourself. Anyone got any tips on how to overcome this?