At a railroad crossing, you must:

You must approach all railroad crossings with extreme caution and cross only when you know that no train is coming from either direction. Be aware of vehicles that must stop at all railroad crossings, such as school buses and trucks carrying hazardous materials.
DMV Writen Test