constipation in 3 years old child

Give 2 to 3 figs soaked in a warm water. Also avoid sugar, cheese, refined white flour and other processed foods.