Run...when you see a swarm just run. When building build a 2x2+ because in a 1x2 you will still be smacked

More Insect Swarm Encountering Tips