The steps for repairing a foundation include identifying the cause of the shifting or settling, stabilizing the foundation, and fixing drainage issues. Once the foundation is secure, a contractor will fill any voids and cracks to restore the home’s structural integrity.