How to resist food?

I have recently started working at a bakery, and I've been eating everything. I've already been trying to loose some weight, so this isn't helping. How do you say no to food? I always get hungry, especially with 8 hour shifts. I've started bringing food from home, but it doesnt seem to be helping. Any advice?