i don't know how to programme arduino to control stepper motor with mpu6050
please help
Post a link to the mpu6050 datasheet.
Most stepper motor drivers just need step and direction signals from the Arduino. See this simple stepper code and stepper motor basics
...R