Stepper motor not returning on its original position

If You post schematics showing the powering, and the code, we will have more information to start from.