A strong defense against online misinformation may be to administer a digital vaccine: Exposing yourself to common deception methods may help you recognize sensationalized headlines, misleading TikToks, or social media fabrications in the future. In collaboration with Google and its tech unit Jigsaw, a team of psychologists added short videos to YouTube’s ad lineup, educating people about how to spot common misinformation tactics.

In an online campaign, they found these clips were an effective way to get people to identify what’s real and what’s fake news. People who watched the videos were better able to identify misinformation techniques than those who didn’t see the clips, as the team reports in a study published in the journal Science Advances today.

“It’s very possible on social media to reduce vulnerability and susceptibility to being manipulated,” says Jon Roozenbeek, a postdoctoral fellow at the University of Cambridge and the lead author of the study. “Maybe not all misinformation, but you can demonstrably improve people’s ability to detect when they’re being manipulated online.”