Make a cup of hot black tea. Put a tea spoon of sugar and squeeze half a lemon into the cup of tea. Mix well and drink in small sips. Have another cup after 4 hours. Non-infective diarrhea should resolve after the second cup. To combat dehydration, have a lime juice mixed with a tea spoon of sugar and salt after a while.
If not resolving, there might be a problem that requires medication or expert care.