Discombobulated, I use a grounding technique to help me be present in the here and now. I focus on what my five senses are telling me. What do I see, hear, feel, etc?
Some times it also helps me to acknowledge the flashback is from the past and just "ride it out."