Boundaries can be perceived as battle grounds when one begins to establish an emotional do-not-cross perimeter. This is unfortunate because without them there can be less than favorable outcomes for both parties involved. First evaluate the pattern of hurtful behavior and what impact if any it has on your state of mind and by extension your health. Depending on the situation try polite conversation or a consult with friend or therapist on the best possible solution. Ultimately there is no shame in protecting your emotional and physical health. Also be open to examine your own words and behaviors. Do they go beyond another's do-not-cross emotional perimeter?