No professional is immune to the occasional work mishap. Acknowledging an awkward situation, apologizing to the appropriate colleague, if necessary, and not dwelling on it are good ways to bounce back from even the most uncomfortable scenario.
Everyone has embarrassing incidents at work -- it shows we're all human. The best way to handle awkward moments is to gracefully move on, and, if possible, try to find the humor in the situation.