Target interview question

How to prevent overfitting in a ML model?