I hate eating bugs! If I am lucky, I can see the swarms in my path and I quickly look down.
Also, I found that if you breathe through your nose and out with your mouth this can prevent an incident. Plus it is a great way to regulate your breathing.
I always have trouble with bugs flying right into my eyes, normally on days when I don't need my sunglasses. I managed to get a pair of glasses that have different shades for different weather. This has been great.