I'm not sure. It's really hard and is still something that I'm working on.
It might be important to gradually build friendships so trust can be attained in a meaningful way. People who are in it for the long haul may be less likely to abuse you. Meeting new acquaintances in public places for a while until you get to know them can be helpful, too. Both of those things would've kept my previous abusive situations from happening, I think. My sexually abusive marriage was a "whirlwind romance."
And my date rape happened in a private place.
_________________
“The darkness shall be the light, and the stillness the dancing.”
— from Four Quartets by T.S. Eliot