Prevent overfitting in decision trees using pruning. Learn about max depth, min samples split, and cost complexity pruning.