Hemodialysis and peritoneal dialysis are not perfect. They do some of the work of the kidney, but it is not as good as a real kidney. So people who need dialysis are not as healthy. They must take medicines. For example, in kidney failure, the kidneys do not make any erythropoetin. Doctors have to give people erythropoetin so they make enough red blood cells.