picturing your SO with someone else

what does it mean if you want to leave your SO but at the same time dont because you can't stand the thought of him/her being with someone else... how did you guys deal with it.. did it hurt you if you did it anyways?