I'd have to reiterate Linda Sue's comment....It definitely depends on WHO it is. It also depends on what it is they've done to annoy me. I don't annoy easily, so it would probably be something fairly serious.
If it's a member of my immediate circle of loved ones.....simple. I would swallow my pride, put it out of my head, say nothing and just go forward.
On the opposite side of that....someone I really don't care for, to begin with? They're not worth my time, energy or concern. I can literally laugh off anything they do.
The group in between there....well, then....it would depend on my mood. If they annoyed me on an already bad day......we have a problem.