Bees are pretty sensitive to movements, so if you see some moseying around, then try to move slowly and smoothly and they should ignore you.
Swatting at them or waving them away will likely send them into Alarm mode.
Bees won't usually sting you out of pure spite.
The chances are that you accidentally hurt it or gave it cause for concern without even knowing.
This could have been stepping on it, or squishing it in a fold in your clothing, or just batting it away.
Once bees release the "Alarm" pheromone , all you can really do is vacate the immediate area.
Alarm
The complexity of pheromones in bees is illustrated well by the two types of alarm pheromone, which can be distinguished by which glands release the pheromone.
From the Koschevnikov gland: This gland is near the sting shaft and is released when a bee stings.
The release of the alarm pheromone is a defensive reaction to alert nearby bees.
This alarm pheromone smells like bananas.
If you are unfortunate enough to be stung, you may wish to leave the area as you tend to the sting, because alarm pheromones are being received by other bees.
From the Mandibular glands
: This consists of 2-heptanone and is used as an anaesthetic and to paralyze intruders, after which bees remove the intruder from the hive.
Note here the pheromone that's most likely to relate to you smells like bananas, so if you're eating one, it might be a good idea to drop/dispose it.
outdoors.stackexchange.com/users/None/
It sounds like you got near a wasp nest.
These can be hard to spot, especially the ones that are in the ground.
The best way to avoid getting stung more is to move away, than can mean up to 10 meters, especially if you have already been stung.
Some wasps and bees release pheromones when they sting, which alert others to the intruder and cause more of them to sting you.
Again, there must have been a nest nearby.
You can try to go back to the area you were stung and look for the nest.
Don't stand where you were stung.
Hang back a safe distance and look for the bees/wasps buzzing around.
After a few minutes, you should be able to visually follow the activity to a concentration point.
That could be a small hole in the ground, or a cavity in a tree.
It doesn't need to be a large obvious nest hanging from a tree branch.
The type of nest and location depend on the species.
outdoors.stackexchange.com/users/1854/Olin Lathrop
I have seen plenty of science nature shows where bees are pacified with smoke.
However, Usually bees die after 1 sting.
They don't sound like bees, and I don't know if that works on anything else
I don't know how you would produce
said smoke without carrying around one of the smokers that the professionals use.
(sounds inconvenient)
Don't wear blue.
I have watched many science shows that demonstrate that they sting blue greater than 2x other colors.
A blue and white cloth on a stick was stuck into a hive and the blue one had many stings and white just a couple.
Wearing a bee keepers outfit must prevent stings since they use it, but for normal people its probably impractical.
outdoors.stackexchange.com/users/13700/cybernard
It's difficult to know, without a picture of the offender, whether you were stung by a bee or a wasp.
While wasps typically look different, some (see Yellowjacket) are quite similar in coloring and shape, the main difference being that bees typically have fuzz, while yellowjacket wasps are smooth; not exactly an easy distinction to make in the moment.
Contrary to many of the other answers, most bees do not die after stinging.
In fact only Honey Bees, the most common species of bee, die.
This is due to their stinger becoming detached, ripping out part of their digestive tract and muscles with it.
Other bee species however can sting multiple times without issue.
It's possible the bee you found were Sweat Bees ( Halictidae ).
This species of bee is attracted to perspiration (hence the name) and the bees could have been attracted by sweat if it was a hot day.
As others have said, the best course of action is to leave.
It's possible you accidentally irritated the bee without noticing, e.g. by stepping on it, accidentally swatting it, or trapping it in your clothing.
As a side note: If you know for a fact it was a bee, treat the sting with some baking soda.
Bee stings are acidic, and wasp stings are basic (alkaline), so baking soda will help with bee stings, while vinegar will help with wasp stings.
outdoors.stackexchange.com/users/16143/Skidsdev
Bees feed on the sweet nectar of some flowers.
So this bee could be attracted to fragrances that smell sweet.
Watch out for your perfume or deodorant smell.
The shampoo or even air freshener for house/car that stuck to your hair or your clothes perfume might be irresistible for your new little friend.
outdoors.stackexchange.com/users/16133/onpre
I grew up in a park.
Bees are attracted to flowers and bright colors.
Yellow jackets tend to be attracted to plastic cups,soda cans and the scent of sugars.
Bee keepers generally use smokers and Bee keeping suits but you seem to be asking for more practical tips.
Neutral none bright cloths, Maybe a leather jacket to cover your arms and upper body.
Spray scent neutralizers like what you would find in a hunting store to neutralize your body smell from sweet stuff like soda pops.
Neutralizing or None scented detergents to removes smells from your cloths.
Most things we use on a daily basis for our enjoyment are scented with fragrances that bees also enjoy.
Vinegar mixed with water as a spray may also help.
PS vinegar mix with rubbing alcohol can also help with poison ivy contact.
If all else fail try a bottle of OFF insect repellent.
I hope this helps you discourage them from visiting you.
If you don't like the scent odds are they won't either.
outdoors.stackexchange.com/users/16155/Ernest Fultz
I've been feeding the local birds at the exact same spot at the local park for quite some time now. Unfortunately for me, today as I was minding my business as usual, a bee decided to sting me. It stung me and flew away, but not for long. It brought back another bugger with it, and they kept trying to sting me. What can I do to evade them? Or is there any way I can pacify them without injuring myself and getting myself stung again?
How do I evade or pacify a bee?
outdoors.stackexchange.com
<bees>
outdoors.stackexchange.com/questions/20033
outdoors.stackexchange.com/users/15843/Peter Johnmeyer
Hang back a safe distance and look for the bees/wasps buzzing around. Bees are attracted to bright colors and flowers. They can be pacified with smoke, and a spray of vinegar mixed with water may help to repel them. Another alternative is OFF insect repellent. Bees are attracted to bright colours, hang back and observe. You can use vinegar spray, smoke and repellent.
Bees are attracted to bright colours, hang back and observe. Smoke, vinegar spray and repellent can work.