A fenced perimeter is the way to go if you free range. It gives the birds a boundary and it also provides a basic barrier for predators. Beyond that..... hiding places, other livestock, watch dogs, roosters are among things that will improve the odds of flock safety.