Remain calm, gently explain they are having a flashback, and ground them by describing their surroundings. Discourage sudden movements and ask before touching to avoid triggering feelings of being trapped. Breathing exercises can also help lessen panic. Reassure them the event is not reoccurring as it can feel genuine.