Retaining walls can prevent soil erosion and enhance your landscape, but there's a lot to know about leveling, drainage, and local permits before you DIY.