How to not compare myself to his ex

Okay so I keep comparing myself to the boy I’m taking to’s ex. I know it’s stupid but she’s so pretty and I always see her insta, its making me distance myself from him. So please any advice xx