Fence placement and design should reflect the land topography and conditions. Steep areas will require larger riparian margins to account for faster runoff. Constructing a fence in an erosion prone area can destabilise the bank and release a lot of sediment/dirt into the waterway. It may only be possible to hand dig posts to avoid releasing sediment.