If feelings for an ex are troubling you, try ‘opposite action’