If another car is in danger of hitting you, you should:
Sound your horn.
Wave your arms.
Use your emergency lights.
Flash your headlights.
Your horn should be used to warn other drivers or pedestrians in situations where they may not see you. For example, if you think another driver is about to hit you, you should sound your horn.