Hey my 3 year old baby

Winnie
Is really constipated and always has a hard time pooing , if she passes a day without pooing, she will literally cry her heart out when she is out to ... Like as if she is in labour I feel so bad, I saw a doctor and she was put on prunes which kind of helps but i would like mothers suggestions too on food and other stuff to give her