Let $X,Y,Z$ are irrreducible varieties. $f:X\to Y$ is prpoer surjective and $g:Z \to Y$ is dominant.

Then, $X\times_Y Z$ is irreducible?

Moreover, it will be very helpful for me if there are other conditions of morphisms $f,g$ that makes $X\times_Z Y$ irreducible.