Usually the best thing you can do is barf it up. I know it sounds gross, but then it is out of your stomach and out of your system.
Little things (like single olives or things of a similar size) it is better to wait it out but big stuff...just gotta hurl.
