Invisible Technologies interview question

How do you prevent overfitting in training a machine learning model?