Help !

My daughter is a month old and seems to be constipated... her poop is hard and seems to be hurting her butthole when she's pushing which results in me pushing it out by pushing gently on the sides of her buttcheeks. Her butthole seems red and a bit swollen from her poop getting stuck.. what do I do?