When a gate at a railroad crossing is lowering, you should:

You must stop at a railroad crossing if the gate is lowering. It is unsafe to do otherwise.
DMV Writen Test