Landscape fabric or weed membrane will help keep gravel or pebbles from sinking into the ground, preventing soil erosion and weed growth. However, as the material naturally deteriorates, you will need to substitute it every 1-2 years with a new one. Remember, the thinner it is, the faster it will degrade. A better alternative instead is to add larger stones below and top them with smaller rocks