counteract
Planting trees counteracts flooding.
The shot counteracts the effects of venom.
The medicine counteracts his allergy.
verb 1
to reduce or prevent the bad effect