I touched on this topic a while back regarding Yellow Jackets and Bees getting crazy around this time of year...Late Summer and early fall seem to be when you can't go a few steps without swatting away a bee. This time a year the insect diets of yellow jackets start to die off leaving the buggers looking for alternatives, unfortunately they like the same junk food we do, and they go after it with a passion. Yellow Jackets have been known to even invade a honey bees nest for food! There's a battle I would not want to be present for. It's important to keep things like your can of soda covered if you are not drinking it or else you can be slurping down more that that last sip. Try to keep sticky a sweet spills outside to a minimum and keep trash can and dumpster covered.
Treating for yellow jackets is the same for most bees and wasps...You use insecticide dusts into the void they are living. This should really be done by professionals with bee suits. If you stumble upon a nest of yellow jackets it's been said that the best thing to do is cover your face to protects your eyes and slowly walk away and head for shelter. Losing control and swaying your arms will attract more yellow jackets and the problem can quickly escalate! If you are stung in the mouth or throat seek immediate medical attention because the stings cause swelling that could prevent you from breathing.