Grid Search for Hyperparameters for Deep Learning Models(regression) in R With Keras

I am using "keras_model_sequential" to train a model for a regression problem in R.
I used a fixed number for nodes in the hidden layer, epoch, and the number of the hidden layers,...

How can I check different parameters, for example, the number of nodes and other mentioned paramethere? Actually, I want to check the performance of the model for different parameters and finally get the best model.

I know how to train the model with fixed parameters but how can I get the best hyperparameters? Is there any source or document to help me?
(Also everything about cross-validation of this model)

Thanks in advance