Switching between multiple pawn

Have done it but it only works by using flip flop
And I have three light what should I do?