act against

Intermedio alto (B2) neutral

To do something that goes against a rule, person, or belief.

"The doctor warned that acting against medical advice could be dangerous."