antidote
an·ti·dote
/ˈæntıˌdoʊt/ noun , pl -dotes [ count ]
1 : a substance that stops the harmful effects of a poison
There is no antidote to/for this poison.
2 : something that corrects or improves the bad effects of something
For him, racing motorcycles is a great antidote to boredom.