It’s okay to be a little preoccupied with your partner’s ex. But how you manage those insecurities makes all the difference.