Shout loudly to get their attention
Let them wander off to calm down
Restrain them physically
Talk to them quietly and firmly