Give me example of allowing an urge?

I want to know what allowing an urge vs. giving in to an urge feels like.
Say it’s 3 pm at work, and I’m anxious and tired and go to the nurse’s station and have an urge to eat something off my protocol.
If the ultimate action is that I eat the chips and guacamole, how is allowing the urge different from resisting the urge different?

Thank you!