Taking it in the wrong direction is 10pts for off course
Unless you then go back and take it in the right direction, you also get a 20pt fault for failure to perform.
Analogy:
If your dog goes around a jump and back jumps it, that is a 10pt fault. If you then don't also have the dog jump it in the right direction, you also get a 20pt failure to perform fault.