I use mosquito attacks to cultivate tolerance during meditation. But I also do everything in my power to stop the little buggers getting in. But once one lands, I take no action and just make it part of the mediation.
Here's a an interesting thing I have seen in real life... This seal is sleeping on a beach. Amazingly, this seal is actually healthy. They can close their nostrils to stop the flies going up their nose too.