Tomatoes are rich in fiber and can help with constipation in babies over 6 months. You can boil a tomato in water, strain it, and give your baby 3-4 teaspoons of the juice daily. 6.