Before you plan next year, make sure your foundation is solid.