You need to visit your pediatrician to evaluate the cause of constipation.
In meantime you can continue muout and also some home remedies.
Next Steps
Diet changes like High fibre diet with green leafy vegetables, fruits to be eaten not given as fruit juice, no added sugars and avoid artificial colas and soft drinks
have lots of water during the day time and ni water 2 hrs before bed time.
Treat for worms
Syp.Bendex 10 ml stat and once every 6 months.