Fill the gaps between the bricks with sand or gravel to prevent weeds from growing. You can also use a weed barrier fabric underneath the base layer to further prevent weeds.