Smart dog - knows to stay away for toxic compounds.
How long ago did you spray? Did you do the whole yard, or did you have a wasp nest that was targeted?
I'd just take the dog out on leash away from the yard until the toxic compounds disseminate and your dog is comfortable out there again.
BH, OB1, TR1, AD
Rottweiler/Hairy Dog mix?? Shelter rescue
Gryffon Vom Wildhaus