Counteract

/ˌkaʊntərˈækt/ verb medium

To reduce or cancel out an effect by acting in the opposite way.

Farmers add lime to acidic soil to counteract its effect on crop growth.

Memory Trick

"Counter-" (against) plus "act": you act against something to cancel it out.