Constipation can be relieved by diet and lifestyle modification, medication such as lactulose and magnesium sulfate, and surgical treatment. 1. General treatment: including reasonable diet, moderate consumption of fiber-rich fruits and vegetables, such as apples, bananas, radishes, potatoes, etc.; drinking more water; moderate exercise to promote gastrointestinal motility. 2. Pharmacological treatment: laxatives, including volumetric laxatives, osmotic laxatives, stimulating laxatives, etc., such as polycarbophil calcium, lactulose, polyethylene glycol, etc., can be applied under the guidance of the doctor. 3. Surgical treatment: For patients who are ineffective in internal medicine conservative treatment, it is necessary to consider surgical treatment, including total resection of colon, subtotal resection, colon absenteeism, terminal ileostomy and so on. It is recommended that patients with long-term constipation consult a doctor for standardized treatment under the guidance of a doctor.