Breath in thru your nose, out thru your mouth....repeat constantly.
You can usually figure out where the really buggy areas are at a certain time of day and plan for them. I ride alot before sunrise and I usually see them in my light first and close my mouth. I forget sometimes. The smaller ones are easier to swallow.
For some reason, I hate to have them stuck in my hair so I usually wear a cool max skull cap under my helmet.