For example, burns. Anyone who has been burned knows how painful it is by itself, let alone the additional pain caused by touching the burn area. Yet, on subsequent burns, the same reaction is given initially. In contrast to the initial reaction, we avoid and stay away from the possibility of it being touched (flinching).
What is our brain actually doing during these reactions?