Lactulose is also used in patients with liver disease to decrease the amount of ammonia in their blood. By extracting ammonia from the blood into the colon where it is extracted from the body, it works.