How to get rid of period cravings when on a diet?

Sasha
Everytime i try to go on a diet, I would do great for like a week or 2 and once my period come, its goes down the drain. What can i do to stop the temptation  and keep me motivated