Regulate, slow, and steady breathing. Accept the present moment. Notice and tune in to your senses. Perhaps practice targetted progressive muscle relaxation techniques. Grab some water and get a hug after. This sort of experience is hard on the body and the mind.
However, the best solution to an acute mental health crisis is prevention and responsible self-care.