Teach children to recognize manipulative behavior — tricks, bribes, boundary-testing, secrets — rather than fearing a category called “strangers,” since most harm comes from people children know.
Keep communication open and shame-free, so a child who feels uncomfortable reporting something confusing is never afraid to come to you.
Rehearse a few age-appropriate “what would you do?” scenarios; thinking ahead makes responses automatic when it counts.