Bosch interview question

How can we prevent overfitting when training a Neural Network?