For the immediate relief, a laxative for few days will help. But the solution to the problem has to be long term lifestyle change
Next Steps
Few things that can help are take ur child on the toilet seat of her comfort at the same time everyday for 10 minutes, encourage intake of plenty of water, vegetables and one to two serving of fruit daily.
Health Tips
If all these modifications don't help her, do get the
thyroid levels checked once