D.K.
My son has been struggling with constipation since age 2 and he is now 5 1/2. He has been on prescribed medication for a few years and it works great. Now there is an over the counter medication called miralax and you pit in a drink and it dissolves and has no color, flavor or odor. This will cause the poop to loosen up so that it will not hurt her and it will be hard for her to hold the poops in. Definitely talk to your pediatrician or ask you local pharmasist. It is hard to have a child who struggles with constipation, believe me, but this medicine works wonders for my son. Good luck!!