When health problems affect your kidneys, they can cause CKD. This is permanent damage that may get worse over time. If they’re so damaged that they stop working, it’s called kidney failure, or end-stage renal disease (ESRD). The treatment is usually either dialysis -- when a machine does the work your kidneys normally do, or a transplant -- when you get a new healthy kidney from a donor.