What geographic region are you in? Try to identify what they are first. In the US there aren't many ground nesting wasps. Yellow jackets are one possibility, they are small and fast. And they could be a huuuge problem this time of year, they are faster than you think and there may be hundreds or thousands of them. If the wasps are very large (well over an inch) they may be cicada killers, aka ground digger wasps. These are usually harmless but if they bother you or are near where the kids play you can kill the nests with insecticide sprayed (or dusted) in the entrance at dusk. Some people in Florida used boiling water, or ammonia, or whatever they had lying around, seemed to work for them. Look for other nests nearby too.
If it is a yellow jacket nest, be very careful! Call a pro if you can. There may be more entrances, carefully watch the area for workers zooming back and forth and watch where they go. From a distance. You can place bait to make this easier (they like jelly).
Regular Raid or gasoline won't work. No liquid will really be effective. Sprays and foams like Spectricide or Harris won't penetrate an extensive nest. You may have some luck with traps or poisons but may not. Poison baits are dangerous around kids and pets too. Call your local University Cooperative Extension for advice if you have one. Use an insecticide dust and duster legal for home use in your area and keep kids and pets far away for days. Don't do this if you are allergic, even the mild swelling kind of allergic. Hit and run... Once you've puffed the dust in, quietly place a brick over the entrance and leave fast and quietly. Remember, there's likely another entrance. If you hear sound or movement, leave immediately even if you haven't dusted because they heard you coming. Don't use a flashlight, it only gives them a target. Do it late dusk when you can still see or use a stationary lantern or something in a direction away from your path to safety. Wear protective clothing and plan your escape, remove any obstacles that you could trip over. Repeat if necessary in a few days. Oh, or call a pro.