Either walk away, change the subject, pull you into the conversation, or mention you.” In a perfect world, your partner will do this automatically. But you may need to tell them that the flirting bothers you, that it feels inappropriate, and ask them to put a stop to it the next time you see this person.