Before you reach the intersection, when crossing railroad tracks in slow traffic, you should:
Wait until you can completely cross the tracks before you proceed
Stop between the crossing gates in case they close
Sound your horn as you are crossing the tracks
Stop on the tracks until your light turns green