Driving out Negativity
The wood stakes are hammered into the dirt of the hold that the spirit house will be placed. Sometimes they are just placed as a bundle inside. This symbolically drives out any negative energies from the land (vampires anyone?).