Micro1 Interview Question

how can you prevent overfitting happening?