Fencing can be a rewarding pastime – not the highly-skilled sword-fighting variety, but creating a sturdy barrier that provides privacy and security around your property.

As a rule of thumb, the fence to the left of your property if you're facing it front-on, is the one you're responsible for. However, if you're in any doubt about whose fence is whose, you can find out through the HM Land Registry website. Once you know the fence you're working on is definitely yours, be sure you tell your neighbour you're putting up a new fence, and then it's time to get clearing.

Old fences are usually pretty easy to dismantle - you'll need a claw hammer and a panel saw, and preferably a pair of tough gardening gloves. Clear away any plant growth and use a rake and a level to roughly even out the ground.

Once you have a clear run to work on, it's time to start marking out your fence. Start in one corner of your garden and mark a hole on the ground. It's important that this post goes exactly in the right place, as this will set the boundary line for the whole fence.

You now need to start digging. Use a post hole digger (such as a Roughneck Fibreglass Post-Hole Digger, £39.99, Screwfix.com) to start cutting away the ground in a square about 25-30cm round.

Try to cut this hole neatly, as any extra dirt that comes out will have to be replaced with concrete. You may find that the old fence posts are still in place, or that their concrete bases are still in the ground - these have to come out. Hire a breaker (you can hire a Hilti TE3000 Heavy Duty Breaker from £88.44 for one day, HSS Hire).

Once all your obstructions are gone, continue digging your hole until it is 600mm deep for a 6ft fence - any shallower and your fence will blow over in strong winds.

Put the first fence post into your hole, making sure the groove in the post points down the line your fence is going to go. Level it up using a spirit level. Prop the post in place with some wood wedged into the surrounding ground, so that the post stands upright without you holding it.

Now you need to set the post in place. For this you are going to use quick-setting postcrete. Most building merchants stock this. Start by half filling your hole (with the post in it) with water, then cut the top of your bag of postcrete and pour all the powder in.

Use a piece of wooden baton to knock any air bubbles that might have formed in your hole, and continue filling with water until your concrete comes to within an inch of the surface. It usually takes one bag of postcrete to do one post.

Leave to set before using the same method as above to set a post at the far end of your garden. Tie a string line to one of the posts, about 30cm from the ground, and pull the string to the other post and tie it off. Make sure that the string doesn't touch the ground.

Proceed to tie more string between the two fence posts, this time over the top of each post, so you have a guide for the height all the rest of your fence posts you're putting in. Next, put one of your concrete gravel boards into the groove in your set fence post. These gravel boards are the exact length of the fence panels, and so are a good guide for spacing your fence posts out. Mark where the other end of the gravel board lies on the ground and use this to dig the next post hole. It's best to take the gravel board out while you're digging.

Dig a hole using the same method as before, and put the gravel board back in place before putting in the fence post. Use a spirit level and a few bricks to prop the gravel board up to level. Accuracy is essential here.

Put your new fence post in the hole, making sure the gravel board is set in the post's groove. Use a spirit level and the string lines you put up earlier to position your post. You may have to take the post out and either dig some more depth in the hole, or fill it in a bit to get the post the right height. Once your post is in position, use the postcrete.

Continue marking out, digging and installing fence posts along the length of your new fence, until you get to the far end. Now, unless you're incredibly lucky, your last gravel board is not going to fit into your last fence post, and you will need to do some cutting. You can hire a grinder from most hire shops.

Use a tape measure to find the length of your final gravel board - remember to measure from inside the post grooves. Transfer this measurement on to your gravel board and mark it with chalk. Lay the gravel board on a stable surface, making sure there is nothing you want to stay clean behind you, as this process kicks out a fair amount of dust. Begin to cut along the line. Run the cutting blade backwards and forwards along your line until you have cut through.

Slide your new, short gravel board into place between the fence posts. Be careful here, as you'll be sliding it in place from the top of your fence posts. Now you can start sliding your fence panels into place - it's good to do this with a friend and try not to do this on a windy day.

Once you get to the final short fence panel, mark the length in the same way as you did for its corresponding gravel board. Carefully use your claw hammer to prise off the fence battens off of the part of fence you don't need, and nail them onto the line you have marked on your panel.

Use these new battens as a guide to saw the fence panel down to size and slot into place. Rake back any dirt and soil to the gravel board, so no light can be seen along the bottom, then tidy up, go back indoors and get warm - you have done it!