Bosch Interview Question

How can we prevent overfitting when training a Neural Network?