"You're doing it wrong" is better than "You're doing it wrongly" because "wrong" and "wrongly" don't follow the standard form in which the adverb necessarily ends in -ly.
The post Wrong and Wrongly first appeared on Grammar Underground with June Casagrande.