Foundation problems can be costly to repair, so it is best to have a professional assess the extent of the damage and provide an estimate before making an offer on the house.