If child is having constipation, she can have pain while passing stools as well as while urination. Then, she will need laxatives like lactulose or PEG syrup in adequate doses according to her weight.
Next Steps
If not constipated, will need more information regarding the child's other symptoms and dietary habits.
Health Tips
Plenty of water intake advised with high fibre diet.