Self-love is compassion and unconditional acceptance for yourself. When you treat yourself with love, compassion, and respect, others will treat you the same.
Self-love doesn't prevent you from caring about others; it simply means you can give yourself the same kindness that you give to others. You set the tone for how you want others to treat you in a relationship.