There are a few things that you can do to get rid of snakes in your yard. One approach is to use repellent products that contain applications of lemon or garlic. In some cases, spikes may also be effective at deterring snakes from entering an area. Place them around the perimeter of the property to make it difficult for them to cross. You can also use motion-activated predators such as feral cats or BB guns that shoot Hornets.