Barley or oatmeal cereals, prunes, peaches, plums, apricots and most vegetables are preferred when baby has constipation. Juices are helpful, especially apple or prune, but use in moderation, as they are not as nutritious for babies as formula or breast milk.