In training your (Machine Learning) Models, splitting your data into chunks. You train your data on some of it and test against a small part of it. Then after enough, you use another, unseen part called the validation set.
Alternatively, you could use Cross Validation