It's hard, but you have to change your perspective for that person.
That usually means an extended time of no contact, or not being around them.
And then you have to consciously try to think differently about them.
Even that being said, you may never fully get rid of those feelings. Just shift them to a different type of feeling.