This would depend on the cause. It may be because of viral, bacterial or protozoal INFECTIONS. Or it may be antibiotic induced, and other causes also possible.
Treatment is ACCORDING to the cause. Antibiotics, pre pro biotics etc are often useful.
Health Tips
have plenty of fluids coconut water lemon juice etc. semi solid diet.