There are a couple of factors here. The height of the fence and also where the boundary is for your property. Both of these will impact on any permission requirements (including possible planning permission).