Constipation

Ne

So idk if my LO is constipated she poops one day yes one day no but the day she doesn’t poop she’s always so gassy and grunting and not happy and doesn’t sleep well. She poops green like olive green at first it was runny now it’s still green but hard. If it is constipation what can I do??