Srimate Ramanujaye Namaha
Swami, yes it a tough situation to go through.
But if we realize that all the situations and events around us are only manifestation of our own karma, which is making others behave so.. we will not get angry at the situation or people..
But yes it is not easy to apply it at the moment we are experiencing such difficult situations..
This is the solution that a jnani would apply, but most of us are not there.. but we can try..
However for a devotee, he immerses himself in the nine forms of devotional service- “śravaṇaṁ kīrtanaṁ viṣṇoḥ
arcanaṁ vandanaṁ dāsyaṁ
And when one is so busy in these nine activities, the mind will have little or no chance to play tricks and make us sad by what other people do to us..( whatever others do, if we dont let our mind, they cannot affect us)
This are theoretical answers. I have been and am still struggling to apply these..
But hopefully by constant prayers to Acahryas and Lord we may be able to apply to some degree.