Some types of wasps like building their hives underground. While this can be obnoxious when you’re out gardening, it actually makes it easier to get rid of them. You can pour hot water down the hole and then block the entrance with a boulder or something else. Or you can just block it off and let the wasps die of starvation. Just remember that most underground nests have multiple entrances, so block them all.