Long-term constipation can go to the gastroenterology department and anorectology department of the hospital for diagnosis and treatment. 1. Gastroenterology: Long-term constipation may be caused by slow gastrointestinal motility, intestinal flora imbalance and other factors. Gastrointestinal function can be assessed by barium meal, abdominal ultrasound, Helicobacter pylori breath test and other tests. Under the guidance of the physician, drugs to promote gastrointestinal dynamics, such as domperidone, mosapride, etc., can also be taken to regulate the intestinal flora imbalance of drugs, such as Bacillus licheniformis. 2. Anus: intestinal or anal sphincter disorders can also cause long-term constipation, through enteroscopy and anoscopy and other examinations to clarify whether the intestinal tract and anus are organic lesions, if necessary, the line can be surgical resection treatment. Constipation is recommended to consult a doctor in time and intervene under the guidance of a professional physician.