Constipation

My baby is 6 months and we have been introducing solids but she gets really constipated when she poops her butthole tares and i don’t know what to give her other then some water and plums 😞