Cholestyramine traps bile acids in the gut so they can't be reused. The liver has to use up cholesterol to make more.
Cholestyramine is a bile acid sequestrant. It stops bile acids being reabsorbed in the small intestine, so more cholesterol is turned into new bile acids. This lowers LDL cholesterol. It is also used for diarrhoea after bowel resection in Crohn's disease. Side effects include cramps, constipation, poor absorption of fat-soluble vitamins, cholesterol gallstones and raised triglycerides.