Have you been able to overcome emotional eating?

If you’ve figured out how to avoid or overcome emotional eating please let me know what you’ve done… any little piece of advice will help. Some examples people have given me are that they have become more mindful eaters, they learned to deal with their stress, they recognized that they eat when bored and lonely. What did you do or are you doing now that seems to be working? Are you willing to share? Thanks in advance for your help!