I can certainly sympathise with your situation from experience — wasps especially love all kinds of sweet drinks, and will home in on them with monomaniacal persistence. I've even had them try to get in my mouth while I'm drinking from a cup, which can be a somewhat unpleasant situation.
(FWIW, the most important thing to do if there's a wasp or a bee buzzing around your face is to not panic or try to swat it, but just keep as calm as you can and gently guide the insect away, preferably while slowly moving away from any sweet-smelling things that might be attracting it. Remember, the wasp is just looking for a sugar fix — it's not (yet) actively trying to sting you, and will only do so if it feels that you're a threat to it or its nest. Granted, it can sometimes be hard to predict exactly what an insect will perceive as a threat, but flailing your arms around in panic is generally not the best idea.)
Anyway, the best proactive solution to your problem that I know of is to get a plastic bottle with a "sports cap" like this and pour your drink into it (or just buy a drink that comes in a bottle like this to begin with):
Photo by Mikael Häggström via Wikimedia Commons, released under the CC0 public domain dedication.
The closeable cap prevents insects from getting into the bottle when you're not drinking from it. It's also designed to fit in your mouth, and even so that you can open and close it using your teeth, making sure that no bugs can sneak in while you're drinking, either. And even if a wasp or a bee somehow does make it inside, e.g. while you're pouring the drink in, the passage which the liquid flows through inside the cap is narrow enough that it probably won't get from the bottle into your mouth.
(That said, I'd still rather try to keep them out of the bottle in the first place. A transparent bottle might be the best choice here, as it'll let you visually double check the contents of the bottle before taking a drink from it.)
Also, try not to have anything near you (such as exposed food or drinks) that might attract insects with its smell. In particular, rinse out any empty cans with water if at all possible, and clean up any spilled drink. If you must have something smelly around, try to keep it somewhere as far as possible from where you are, and hope that it draws the insects there instead.