How comparing yourself to partner’s ex can affect relationship — and how to break free