Stop. Take a deep breath. Go grab a soda and pet your dog. Things are about to get better...
Give the chainsaw a break by turning everything off. Flip off the on/off switch. Turn the throttle off. Push or pull the choke to the off position and deal with anything else that might need to be switched off (off is the key word). Some even suggest removing the spark plug, pulling the cord a couple of times, then replacing the plug.
By doing all this you will make the saw (and you) more comfortable and start the process of clearing a flooded engine. Just as important, you've given yourself a minute or two more to recoup.

