Panic Episodes When I See My Ex

Da

Every time I see my ex and he tries to talk to me I freak out and I don’t know why. I start hyperventilating and I start crying and need to leave the room. Does anyone know why this happens or how I can stop it?