counteract

Definition

To act against and reduce or neutralize the effect of something.

Example

"The medicine was designed to counteract the symptoms of the allergy."