You may eat because of boredom or pressure, not because you are hungry. It will lead to your weight gain.

When you want to eat, you need to distinguish if you are hungry. Find some other ways to kill time and reduce pressure, such as walking, exercising and so on.