Many people use vinegar as a spray to deter pests in the garden. While it can help, it can also affect your plants negatively, so I would use it cautiously. You can also use vinegar in your DIY wasp trap. Apple cider vinegar is sweet and works well end of the season for wasps.