I assume you mean Thorns damage? Your unit gets attacked > attacker takes damage.
If so, use a buff type behavior. Look under Combat > Damage response. Change chance to 1 (the effect occurs 100% of the time), Location to Attacker (you want the attacker to take damage) and finally change the Vitals section to whatever amount of damage you want the attacker to take.