Trackside signals control entry into and out of each block and also warn trains when the line ahead might be occupied and if they must reduce speed. Just like on a road, there are also speed limit signs, reducing speeds in built up areas and where there are hazards.