This is something figurative. Nobody throws salt into any wound. Let's say you are mad with your boyfriend, and someone is telling you bad things about him... What this person is doing is making your feel worse, then, he is throwing salt into your wound.