Flashbacks will get easier to handle, and stop eventually, the more you deal with your trauma. I forget whether you are in therapy or not, but the more you discuss the things that bother you, the lower the emotional impact will be when you 'remember'.
The other thing is to try to remind yourself that this is just a flashback, and it was in the past, and that you are safe now. Try grounding techniques, and slow breathing techniques