Adolescent bully and peer intervention

It starts with a joke, then maybe a jab. Then another joke, another jab. Then maybe the bullying escalates, or maybe it stays at a low simmer, barely even acknowledged except by the victim. Does anyone say anything to stop the situation? Or does the situation continue to simmer, or even come to a boil?