As this is a Ender3 with layer problems I would guess that the XYZ axis may need adjusting.

Layer shifting could be caused by the XY Axis not having a smooth travel path most likely the Eccentric nuts are not correctly adjusted.

The Z-Axis problems could be related to several things including the slicing process.
When you again post with your current problems we will continue with suggestions.