The treatment of functional diarrhea should be based on the adjustment of living habits, psychological state and oral medication, etc. 1.It is necessary to establish good dietary habits, minimize the stimulation of the gastrointestinal tract by spices, tobacco and alcohol, etc., and develop good habits of regular and healthy diet. 2.Be aware of the triggering factors of diarrhea in life. 3.Appropriate use of anti-diarrheal medication according to your condition. 4.Visit a hospital if necessary, biofeedback therapy and other treatments are available, or actively seek the help of a psychiatrist for psychotherapy.