To keep deer out of an area, a fence would need to be 8′ high. Generally not feasible. Using repellents in the area outside and surrounding the garden will help. deter them. If you’re using repellents in the garden, make sure they are labeled as safe to use there…most are not.