Where is the oxygen sensor on a 1998 Toyota Corolla and how do you change it?

It screwed in to the exhaust manifold. To change it you unplug the sensor and unscrew it with an O2 sensor socket.