How to conduct grid search

I have always had some doubts on grid search. I am not sure how I should conduct grid search for hyperparameter tuning for a model and report the model’s generalization performance for a scientific paper. There are three possible ways: 1)  Split data into 10 folds. Repeat 10 times of the following: pick 9 folds as training data, …