Often these fits are for attention. Talk to her and say tantrums are not acceptable. Sometimes it's easier just to ignore her. She should stop after not getting attention.
If at home, walk away. Make sure the child is in a safe environment, then walk away, preferably into another room. Without an audience, the tantrum should stop.