What would you do if you saw someone yelling at a woman on a bus, telling her to take off her hijab? If you saw someone attack an African-American man and tell him Donald Trump could deport him? If you saw a man throw a woman off the sidewalk as she walked her dogs?

As incidents of racist, sexist and Islamophobic harassment continue in the wake of Donald Trump’s election, many Americans will have to ask themselves these questions. And while every situation is different, the tips below — adapted from materials produced by the anti-street-harassment group Hollaback! and other organizations — may help people respond if they see someone being harassed.

Don’t assume you have to confront the harasser.

Directly confronting someone can be risky, because you can become a target, too. In many situations, another option is to talk to the person being harassed. You can ask if he or she needs help, or take a more indirect route by asking for the time or directions or starting a conversation about something other than the harassment. The artist Marie-Shirine Yener explains this tactic in a helpful comic.

Taking the focus off of the harasser can make him or her retreat. In addition, approaching the person being harassed gives that person control over the situation — he or she can choose to accept or decline your help or ask you to do something specific. If you don’t talk to the person experiencing harassment, you may not know what, if anything, he or she needs from you.