The best solution is to catch and relocate the snake. Though if there is one snake there are more bound to be nearby. Make sure the snake doesnt harm your broody hen or her chicks. Also guineas are known for killing and eating small snakes and lizards but I am assuming your snake is large.