The term Mithridatism refers to slowly growing an immunity to poisons by taking small doses over time.
It comes from the tale of King Mithridates, who made himself immune to poison through this process. Mithridates attempted to avoid capture by his enemies by killing himself with poison, but it had been diluted when he shared it with his family and the remaining poison was not strong enough to fight his immunity.