Dealing with hunger


I do not manage my thoughts well when I am hungry. I am trying IF (wake up at 5 am, first meal noon) and when I get hungry I start to get rapid thoughts and cant stop thinking about food, then when it does come time to eat I eat rapidly and often overeat. Could it be that intermittent fasting is just not for me due to my history of binge eating or should I continue to just try to manage my thoughts around the hunger? What are some helpful things I can think when I get hungry?