You first dig and shovel the dirt out, preferably until the substrate feels solid and compact. After this, lay several inches of gravel to prevent water from rising into the basement floor.