You find the basic steps here: Supervised and unsupervised classification, Sentinel 2
Same topic, also good explanation: Rndom forest classification steps
Some notes on creating the vectors in the correct container: Drawing vectors
also here: Supervised and unsupervised classification, Sentinel 2