One way to determine the optimal number of features to select using RFE is to perform cross-validation and choose the number of features that gives the best performance on the validation set. Another way is to use a scree plot, which plots the number of features against the corresponding model performance.