how do you play a class ?

One objective is to play and best the so n so class like the cannoneers this time... how do you play a certain class?