What should you do if a child continuously has constipation? Constipation is often caused by poor dietary habits and lack of physical activity. It is recommended to ensure a balanced diet for the child, drink plenty of water, and consume more vegetables and fruits. Medications such as pediatric secretolysis oral liquid can be taken for treatment.