What am I?

When it comes to me, you go on red and stops on green. What am I?