I think somehow you have to find the mental strength to stop these being triggers. I wonder if these girls really are flirting with you. I wonder if they're just being nice and pleasant and you're seeing it a different way - that particularly seems more likely when you say they constantly move on to others and flirting. Most women don't do that, I promise. Most women will be kind and pleasant to the people they work with and have daily contact with because it makes life easier and often because they're genuinely nice.