inoculate
To introduce a germ, vaccine or other agent into a body or medium, usually so that it builds resistance; figuratively, to protect someone in advance against an idea or influence.
Tell
a small dose given so it is resisted
Best when
You mean exposing someone or something to a small dose of an agent, literal or figurative, so that it resists it or it takes hold.
Example
“Doctors in the 1700s inoculated patients with material from smallpox sores.”