The best piece of advice we can give you is to leave it alone. It’d be great if you could identify the snake. If you notice a garter snake, which is a non-venomous and an extremely common snake, just back away.
Snakes need several things to thrive in an environment; shelter, enough sun, and enough shade, a source of food, and water. If there’s a snake in your garden for a longer period of time, that means that there’s plenty of food for it there.
Possibly the most common snake in gardens is the garter snake. There are actually many subspecies of this snake and it’s present across most climate zones on Earth. They primarily feed on slugs, large insects, and small rodents.
To sum up, snakes are definitely good for your garden! These animals are incredible tools when it comes to the control of pests and vermin. Most snakes you’ll come across in your garden are completely harmless, but it’s best to keep your distance until you identify the exact species.