There are several solutions for diarrhea in a 6-month-old child: first, you need to take the child to the gastroenterology department of the Children’s Hospital to check the blood and stool routine to see if the white blood cells are elevated or if there is a viral infection, common viral infections include rotavirus, if the white blood cells are elevated, you can choose to use antibiotics, and if it’s a viral infection, you can use antiviral medication. Secondly, if the child loses a lot of body fluids due to frequent vomiting and diarrhea, intravenous access should be established as soon as possible to replenish electrolytes and energy. Third, due to inflammation or viral stimulation can lead to increased intestinal peristalsis, may also lead to intestinal spasm, if necessary, can be given antispasmodic drugs to relieve abdominal pain. Fourth, if the child’s diarrhea does not stop, it is recommended to give montelukast to promote the formation of stools, and always pay attention to the child’s mental state, to avoid shock due to excessive fluid loss.