k i am planning to make diet, but the problem that i can not control myself eating snacks between the meals

especialy chocklate chips and i keep in forgeting that i am making a diet so i eat without remmembering and my fat is getting worse and worse and used to wear 34 now 36 and i am getting close to 38 plzzzzzzz help