What should I do if I have diarrhea when I take a test?

A test on the diarrhea to consider with the irritable bowel syndrome, its treatment mainly includes general treatment, drug treatment.
1. General treatment: a test on the diarrhea and nervousness, should pay attention to relaxation, through moderate exercise, listening to music and other methods to ease the nervousness, the diet should be timed, do not overly hungry, do not overeat, avoid eating too greasy cold food, try to maintain a happy mood.
2. Drug treatment: mainly symptomatic treatment, if the diarrhea is more serious, you can use montelukast, loperamide, and if necessary, you also need to use antipsychotic drugs, such as sertraline, paroxetine; if the abdominal pain is more serious, you can use scopolamine, atropine, and other drugs for analgesia.
If the above symptoms continue to be unrelieved, it is recommended to seek timely medical treatment under the guidance of a professional physician to avoid delays in the condition. The above drugs are recommended to be used in accordance with medical advice.