Whatever the situation is:
- someone’s behavior made you feel uncomfortable;
- you start liking someone;
- etc.
The sooner you talk about what is bothering you, the less of your state gets drained by unnecessary worry.
Besides, it is a great test: if a person does not take your feelings into account, it immediately shows that there is no point in continuing the interaction.