Fetching details from the dictionary...

to change; to alter
to mistake; to make a mistake
to fail to keep (e.g. one's promise)
to sprain (a muscle); to dislocate (e.g. one's neck)
道を違えてしまい迷子になりました。
I took the wrong road and got lost.
方向を違えて反対方向に進んでいました。
I was going in the opposite direction by mistake.
手順を違えてしまった。
I made a mistake in the procedure.