Answer: Other than omitting flowers from your yard, I don't know of any way to keep bees out. (And since bees visit many, many flowers--including dandelions and clover, it would be just about impossible.)
I happen to be an amateur beekeeper, so I can offer a few suggestions on how to act around bees, and about their nature. But before I do, I recommend that you keep your emergency bee sting kit with you at all times when you are outdoors.
When you see a bee, don't swat at it! Simply walk away. Bees are NOT aggressive (as some hornets are). They will only sting in defense. Remember, they die after stinging, so they really don't want to have to do that. Near their hives, bees are a little quicker to defend, and possibly sting. (But even here, many beekeepers work their bees with no gloves on--if you move slowly, they don't perceive you as a threat.) In the garden, they are simply going about their business, and are not "defending"anything, so the most common time to get stung is when you step on one. So I'd wear shoes outdoors.
I'm sorry I can't be of more help to you. Bees are such facinating creatures, I'm sorry that you aren't able to enjoy them more.
Q&A Library Searching Tips