How do you space a pegboard?

To space a pegboard you will need to have a 1/2 inch gap behind the pegboard so that you can install hooks to hold it in place.