Some preventive measures include proper drainage around your home, avoiding planting large trees close to the foundation, and ensuring the soil beneath the foundation is properly compacted before construction.