there is a laxative that is very mild and helps wonders. It is called "little tummies laxative". It comes in a liquid form. It has helped my 3yr. old in the past when he was very constipated for 3days. If that does not work, try some sort of sapos. from his doctor.
best of luck. Hope the little one gets to feeling better.