If you want to change your eating habits, or some of them, start by writing down everything you eat and drink. You can't get your food and weight under control until you pay attention.
Many of us eat when we are bored, angry, tired, happy, sad, excited, anxious, frustrated, etc. We eat to reward ourselves and to comfort ourselves. Wouldn't it be great if we could find better solutions?
When I ask people why they are overweight, the first and most common answer is, "I don't know." I often notice a huge disconnect between the question, the factual answer, and the common responses.