Dietary factors, pancreatitis, dyspepsia, etc. can all lead to oily and smelly stools, which can be treated by adjusting the diet according to the cause or using octreotide and domperidone, etc. 1. Dietary factors: Consuming too much food rich in oil and fat may lead to the phenomenon of oil and odor in the stool. Patients need to eat less high oil and high fat food, eat a light diet, eat more fruits and vegetables. 2. Pancreatitis: Pancreatitis is inflammation that damages the body of the pancreas. The pancreas can secrete a variety of digestive enzymes such as amylase and lipase to participate in the digestive process of food. Therefore, pancreatitis affects the absorption of fatty substances, resulting in oily and smelly stools. It can be treated by injection of octreotide and ustekin. 3. Dyspepsia: In patients with dyspepsia, as the digestive tract cannot fully absorb the fat content of food, a large amount of fat will be excreted with feces, so it will lead to oily and smelly stools. Patients can take domperidone and other drugs to improve the symptoms of indigestion. There are many other reasons why the stool is oily and smelly, you need to consult a doctor in time to clarify the cause, and by the doctor to regulate the treatment, do not self-medication, in order to avoid serious adverse consequences.