Overfitting refers to a model taht is only set for a very small amount of data and ignores the bigger picture .There are 3 main methods to avoid overfitting-
1.Keep the model simple- only take few variables
2.use cross validation such as k folds cross validation
3.use regularization techniques such as LASSO that penalize certain model parameters if they are likely to cause overfitting.