How to stop my mind from associating random things I love to random things I hate?

Recently my mind made this stupid idea to associate my closest cousin to a person I found really really annoying and it's kind of bothering me.
Everytime I talk with her I get really into it and the moment my mind wanders a bit the annoying fella just shows up in my head and it's making me so anxious that it keeps me up at night