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