Break the chain of repetitive behaviour. Recognise the real reason YOU decided to overeat and then take steps to avoid connecting the apparent reason to comfort eating.
You probably learned to eat something tasty as a coping method in times of stress and this simple habit easily degenerates into overeating. Check your list of situations where you typically risk overeating and write down an alternative way of dealing with each of those challenges. Think about each of them. Remember your new list of alternative strategies to overeating. And put them into practice.