904 Leaking. What to check first?

Use a Duprene gasket; and hammer down the pan rail where the bolts have pulled it up, Go a little down past flush. No sealer. Pan bolts just tight enough to not shear the threads out of the case.