A collection of participating nodes are selected at random to confirm a block. You just have to wait your turn. You can increase the chances of being selected by increasing your staked amount though.