Hard poops :/

Bry
My baby is formula-fed, and she frequently goes days without pooping. We saw her pediatrician last week for her month checkup, and he said as long as her poops are still soft, she's fine. They're hard now. It comes out in legit turds. What do I do? Should I call the doctor or give it a while and see if it gets better?