The engineer or other person operating a locomotive on any railroad must blow the horn or whistle or ring the bell:
He must also, on perceiving any obstruction on the track, use all means within power, known to skillful engineers, such as applying brakes, in order to stop the train.
Ala. Code § 37-2-81 (1975)