The problem with fences is that deer are quite ingenious about getting around them. Deer can push under them or, if the fence is less than 8 feet tall, leap over them. Furthermore, fences are costly, and they can obstruct your view of the yard. So you might want to try repellents before you build a fence.