How did Aztecs become Aztec warriors?

They didn't actually just become warriors, the citizens could choose if they wanted to be warriors but when there was a war going on, every citizen that was called to armas had to join the army.