You can love someone else even if you haven't learned to love yourself yet. It has to do with accepting love.