Lastly, to prevent your wall from failing with excessive rainfall, you’ll want to install a drainage pipe. Install a perforated plastic drainage pipe behind your finished retaining wall. Next cover the pipe with more crushed stone and gravel, while leaving 6 inches between the gravel layer and the top of your wall. To finish, you’ll need to fill the remaining space at the top of your wall with soil.