How do you change the oxygen sensor on a 1990 Mazda 626 LX?

Locate it at either the exhaust manifold or the ex pipe and unplug it and unscrew it. Use anti seize compound when replacing it.