To counteract, counterbalance or neutralize.
To compensate for.
To decide or determine a balanced situation.