Consult pediatrician as 4 year child should be toilet trained and must tell if she wants to go to toilet.
Stop using diapers
Fix time in morning and evening , even at weekends.
If constipation,
Give plenty of liquids and warm water
Give curd, buttermilk, banana and pappaya
High fibre diet
Next Steps
Consult pediatrician for detail evaluation