The most important part of a fence is the gate. When you are building a gate for a wooden fence you need to be sure the gate posts can withhold the weight of the gate. It is a good idea to check with your city or home owners association to see if there are any restrictions as to the style or type of gate.