When building a brick path, use edging to keep it in place.
Commercial brick edging is a quick and easy way to form a stable edge for a brick pathway. Note: This is not the same as lawn edging, which only keeps plants in check.
1. Create the base. Strip out soil 4 to 10 inches deep; lay down a few inches of rock and then a couple inches of sand.
2. Add the edging. Anchor the edging atop the sand.