If someone’s giving you a rough time, first play softball. Let them know in a
kind way that their words or actions are not acceptable to you.
If they continue, play hardball. Same as softball but with added firmness.
If they continue, decide whether to continue to be firm, to take additional steps, or to walk away. Decide if the best possible outcome is worth your time and effort. If it is, then stick with it.
But never, ever, ever play meanball.
No sense stooping to their level.
One like them in this world is likely enough.