dieting is 90% of the battle when it comes to losing weight. Count your calories, it is very important. exercising can help, but exercising wont do anything if you end up consuming above your caloric maintenance.
If you struggle refraining from the urge to eat due to boredom or addiction, eat high fiber foods, or foods that high volume but not much calories. drinking a ton of water helps too, as it tricks your brain into thinking youre full