A counter-argument can appear anywhere in your essay, but it most commonly appears: As part of your introduction—before you propose your thesis—where the existence of a different view is the motive for your essay, the reason it needs writing
<3 hope it helps