To Save Yourself From Further Embarrassment

Did you make a fool of yourself in public and wish to come out of it gracefully, hoping no one will notice, or that they'll overlook your actions?

I sympathize with you. Situations like this are awful, and hard to deal with.

Upon realizing you acted like an idiot, stay calm and leave the situation as quickly and gracefully as possible. In doing so, imagine yourself invisible, and repeat over and over in your mind:

I am what you cannot see
Please, just overlook me
As I will, so mote it be

Don't start getting all weird, act as if it never happened. There's a good chance that no one will acknowledge your actions. Even if they do, handle it as gracefully as you can- stay calm, admit to your mistake and how you feel about it, and state that you wish that it be overlooked. Good luck.