Need help with controlling stepper motor

hi and hello,so this is my first time codding.im currently do a final year project.so my problem is i cant control the stepper motor.my idea is to control the stepper motor right and left using the widget button.
the servo is working fine.in this project i’m using arduino uno,nema 17 stepper motor & cnc shield.i hope someone can help me and sorry for my bad english. thank you

#define BLYNK_PRINT SwSerial
#include <AccelStepper.h>
#include <SoftwareSerial.h>
#include <Servo.h>

Servo servo;
SoftwareSerial SwSerial(10, 11); // RX, TX


#include <BlynkSimpleStream.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "xqsVPKNYmAiaiAtUe01Cto5Du3RSiWGb";


#define  enablePin  8

AccelStepper Xaxis(1, 2, 5); // pin 2 = step, pin 5 = direction



const byte servoPin = 11; // limit z
byte pos = 0;



void setup()
{
  // Debug console
  SwSerial.begin(9600);

  // Blynk will work through Serial
  // Do not read or write this serial manually in your sketch
  Serial.begin(9600);
  Blynk.begin(Serial, auth);
  servo.attach(servoPin);
  pinMode(enablePin, OUTPUT);
 

   
}

BLYNK_WRITE(V1){
  int rightBtn = param.asInt();
  if(rightBtn == 1) {     // if Button sends 1
right();             // start the function
  }
}
void right(){
digitalWrite(enablePin, LOW);
Xaxis.setMaxSpeed(1000.0);
Xaxis.setAcceleration(500.0);
Xaxis.moveTo(1000);
 
}

 



BLYNK_WRITE(V2){
  int leftBtn = param.asInt();
  if(leftBtn == 1) {     // if Button sends 1
left();             // start the function
  }
}
void left(){
digitalWrite(enablePin, LOW);
Xaxis.setMaxSpeed(1000.0);
Xaxis.setAcceleration(500.0);
Xaxis.moveTo(-1000);
 
}



BLYNK_WRITE(V5){

  servo.write(0);
  
}

BLYNK_WRITE(V6){

  servo.write(90);

  
}



void loop()
{
   Blynk.run();
   
}