I'm sure you heard it in driver's ed and saw the videos, but it's always worth repeating if you live in an area where R/Rs are around and trains frequently pass through your area.
1. Turn your music down when you approach a R/R crossing.
2. Don't try to bypass the crossing guard when the lights are flashing and the guard is going down. The train is coming and you don't know when it is going to cross that area (which is most likely very soon). Just wait.
3. Just like with an intersection, if traffic is bumper to bumper, don't follow closely behind the next person. Stop on the other side of the track until you have enough space to make it across and not end up sitting on the track.