Travelers interview question

How do you control overfitting for neural networks?