At the very beginning of hysteria, you can try to distract the child: offer an interesting activity, call for a walk.
It is important to teach the child to express emotions and desires in words; Show how people achieve mutual understanding, discussing and expressing their requests.