Also sometimes the vertices in the Z axis can be slightly higher or lower, causing shading errors. So if they are not, you need to have them at the same height by scaling them to zero. So selecting all the vertices or all those faces, it’s S to scale, Z to lock the axis and zero on the numpad to align them all.