1. An expression used to correct or disagree with someone's statement or method of doing something
That's not the way to do it.
Não é dessa forma que se faz isso.
2. A negation indicating that a particular approach, explanation, or assumption is incorrect
No, that's not how it works.
Não, não é dessa forma que funciona.