How to control cravings

I couldn’t stop myself and I ate a big thing of double chocolate ice cream and now I’m sitting here feeling awful about it and I’m still hungry 😅 I have 6 weeks left and I really want to eat better