Constipation

So my baby is 1 month and she’s constipated and really gassy. I can’t get her to poop what Can I do she hasn’t had a good poop since Friday. She has little poops but not good poops since then and I feel like she’s in a lot of pain. What Can I give her? Should I take her to the emergency room?