If there are no warning gates or lights at a railroad crossing, you should:

A passive railroad crossing is a crossing that lacks control devices, like gates or warning lights. Before crossing a passive railroad crossing, you should search the tracks for approaching trains coming from either direction.
DMV Writen Test