Constipation

My baby is 9 months and constipated badly her poop is extremely big and hard and making her anal bleed , ive changed her milk to gentle ease, and shes still constipated its been going on for a while now.