In which of the following situations in car racing will a yellow flag, or even a red flag, be pulled out?

There's one lap left

Someone won

The race is about to start

There's danger ahead