To get the attention of someone
When traffic is blocking the road
When another road user might cause an incident
Anytime, as long as it's only brief