Fluid is introduced through a permanent tube in the abdomen and flushed out either every night while the patient sleeps (automatic peritoneal dialysis) or via regular exchanges throughout the day (continuous ambulatory peritoneal dialysis).