If you feel uncomfortable, upset or angry when someone does something, chances are your boundaries – the actions you will tolerate towards yourself – have been violated. Some of us don’t want to challenge that person because we hate conflict. Some of us think that if we show them we are unhappy they will understand and not do it again. It doesn’t work. You need to be explicit and here is how:
I felt uncomfortable when you criticised me in front of my friends.
I would like you to talk to me in private if you need to tell me something.
If you continue to criticise me in public I will no longer be friends with you.
OR if you no longer want to be friends: to protect myself I will no longer ask you to come out with me.