The ability only does something if used before attackers or blockers (as appropriate) are declared during a turn. If used after the creature is declared as an attacker or blocker, nothing happens.

Artwork
Loading artwork…
Off Balance
Nemesis · #15 · EN
Nonfoil—Foil—
Card rules
Target creature can't attack or block this turn.
A heavy weapon deals plenty of damage—but it does have to hit.
Common · Illustrated by Jeff Miracola
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
PreDH Legal
Premodern Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Penny Not Legal
Pioneer Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions