It isn't particularly clear but you don't have to take damage necessarily. If you have a shield, that can absord a hit or two, but hitting enemies from behind (as they move away from you) will also result in no damage being incurred on yourself. Having a hit that is dead on also deals more damage. This does apply to enemies as well.