While compost is beneficial to your garden soil, Only use it in moderation. Composting vegetable gardens or flower beds with one to three inches (2.5 to 7.6 cm) of compost is usually sufficient. Mix your compost with the soil underneath it.