They shouldn't even try, if they do, it's a bad sign and you need to work on yourself.
Isn't it beautiful when others try to shame you in front of a group to feel superior?
You can just smell their insecurities.
And if you are cold-headed like me, you wouldn't get emotional about it.
You would just note it.
And move on.
In situations like these, I always say nothing. I don't need to defend myself and I don't need to attack anybody.
Remaining quiet is the only option.
Even if other people are pressuring you to respond, the best is to stay silent.