Figure out the feelings, events, or things you do that make you want junk food. Mindless eating can happen when you're stressed, bored, or with other people. Once you know what these triggers are, you can come up with ways to deal with them without eating junk food.
Get rid of your junk food and replace it with healthy foods. Keep healthy snacks like nuts, fruits, veggies, and other foods you like in your kitchen. Having these other options on hand makes it easier to avoid the urge to eat junk food when you want to.
If you want to avoid eating junk food on the spur of the moment, plan your meals and snacks ahead of time. If you have a food plan, you're not as likely to eat something unhealthy just because it's easy or because you're hungry. If you want to avoid eating junk food when you're hungry, make healthy snacks ahead of time to take with you.
Pay close attention to what you eat and why you eat it. Being mindful while you eat means enjoying each bite and paying attention to your body's signals for when it's hungry or full. Being aware of what you're eating can help you control how much you eat and make smarter choices.
If you can't see it, you won't remember it. Do not keep junk food in places where you are likely to see it often, like your home or workplace. Avoid having easy access to bad snacks. This will make you less likely to eat them.