There are many reasons for layer shifting.
Without the printers settings it will be hard to diagnoses,
Layers shifting could be caused by print speed, dirty bearings, configurations settings or debris on smooth rods .
I had to clean my bearings an smooth rods thoroughly before I could get smooth prints.
Below is a good bearing cleaning video this will give you the best chance of the best clean 3D Print.
Great Bearing Cleaning video
Even debris on belts or stepper motor V-Ref voltage could cause missed steps causing layer shifting.
Its been a long time sense seeing a layer shift that someone else might chime in for additional assistance.