There are more reasons for stool deformity, which may be related to irritable bowel syndrome, hemorrhoids, rectal tumors and so on. It can be treated with medication such as trimethoprim maleate or surgery according to the cause. 1. Irritable bowel syndrome: due to abnormal gastrointestinal dynamics, inflammation and mental psychological reasons such as intestinal dysfunction, constipation and diarrhea and constipation alternately, resulting in deformed stools. But the general situation without pus and blood, diarrhea can be used as prescribed by the doctor, such as trimethoprim maleate and other drugs, to help relieve the symptoms. 2. Hemorrhoids: when the hemorrhoids bulge more obvious, will lead to anal stenosis, at this time the stool through the anus by the hemorrhoids extrusion, there will be deformation of the stool. Patients who meet the indications for surgery are recommended to have surgical treatment, such as hemorrhoidectomy. 3. Rectal tumor: when the tumor appears in the rectum, it will keep increasing to occupy the intestinal lumen, and the narrowing of the intestinal lumen will lead to the thinning of stool. Conventional drugs generally can not treat this disease, through the use of anterior rectal resection surgery, can be combined with radiotherapy and chemotherapy. The above medications are for reference only, and the specific dosage should follow the doctor’s instructions. It is recommended to consult a doctor for a clear diagnosis and actively cooperate with the doctor for treatment.