If someone provokes us, should we keep quiet or teach them a lesson? If we keep quiet then they consider it as a weakness, and if we teach them a lesson, they say that we have not grown spiritually.
To teach someone a lesson, you should be calm. If you have anger, if you are disturbed, you cannot teach someone a lesson.
At the same time, you cannot keep turning the other cheek all the time.
Teach the lesson, but with compassion. This will give you strength.
When you have understood the position of a person and why they are provoking you, you will deal with them with a calm and serene mind.