Laxatives are generally considered when children experience persistent constipation that does not respond to dietary and lifestyle changes. It is crucial to identify the underlying cause of constipation before starting laxatives. Potential causes include dietary issues, medications, behavioral factors, and certain medical conditions.