Fill any holes around the basement walls or foundation with stones or crushed stone to take up space. Pack the stone as tightly as you can to prevent excess settling. Leave up to 6 inches of space between the top of the stone layer and the natural soil level.
Fill the rest of the hole with fill dirt. Scrape and push the dirt down into the spaces between the rocks to fill more space. This step keeps water from seeping into the cracks and damaging the walls. Add fill dirt until you reach natural soil level.
Add 5 to 6 inches of organic compost and garden loam to the site for planting. Slope the planting foundation away from the house, with an ideal drop of 6 inches every 10 feet. This slope funnels rain water away from the house to prevent puddling and leakage.