You have to learn to defend against their offense.
You have to learn to play against their offensive style.
サッカーのシチュエーションで使うなら、次のような言い方ができますよ。
ーYou have to learn to defend against their offense.
「相手の攻撃から守ることを学ばなければいけない」=「相手の攻撃に耐えなければいけない」
ーYou have to learn to play against their offensive style.
「相手の攻撃スタイルの相手になることを学ばなければいけない」=「相手の攻撃に耐えなければいけない」
ご参考まで!