...or so I hear. To me, the best way to prevent their attack, is to not agitate them. Apparently they send signals to call out the troops if they feel threatened and it's multiple stings that generally cause anaphylaxis in such folks. You could be right in another post saying that Yellowjackets are most aggressive. They will come up to you and "check you out" but, it's my understanding that they're looking to see if you are edible or not. It's hard not to swat at them but, even if they land on you, it's better to let them finish their inspection and fly away on their own. As for wasp nest spraying, you'd better be accurate in your aim and have a quick place to duck into if you're bent on doing such a thing.
Here's a bonus unsolicited tip. If you see large awkward "bumble bees" they're likely to be "carpenter" bees instead. If you see them checking out wooden siding or structures, that's the biggest clue. If you have woodpeckers rat'a'tat tatting on your house, it's likely that carpenter bees have bored into your home and placed their larvae inside. These bees will also come up to you and check you out but are unlikely to attack. Only the females can sting, however, so the threat to you is far less than is the threat to your wooden dwelling. My guess is that, in NM, you probably use adobe anyway.