WARNING: This page is about a different car, the 2003 Mazda Protege5 and 2003 Mazda Protege. However, it is still accessible from the selected car via links, so may be relevant.
Install a new gasket with the sealing ring facing the water pump.
Fig 1: Installing Gasket With Sealing Ring Facing Water Pump (ZM)