A child should be seen by a doctor if the symptoms of constipation last for more than two weeks. Contact your doctor right away if your child has any of the following symptoms: