Micro stepper controled by bridge H

hi my name is Pascuala, im a digital design student so im still learning about arduino, programming and electronics.
Im working with a micro stepper of 3.3v to 5v with the code thats on the arduino page, everything goes right but when i load the code the stepper goes around 3 spins and it stops moving. Im wondering of it has something to do with the batery supplay Im using (pv batery) or the revolutions (ive been trying from 48 to 200 revolutions). If anyone has any idea of what could be the reason why it stops working i would love to hear suggestions.

Thanks

I have one suggestion:
Show your code!

This is the one revolution code im using, its one of the example codes arduino IDE has. I only change the steps per revolutions but it still working oddly.

#include <Stepper.h>

const int stepsPerRevolution = 200; // change this to fit the number of steps per revolution
// for your motor

// initialize the stepper library on pins 8 through 11:
Stepper myStepper(stepsPerRevolution, 8, 9, 10, 11);

void setup() {
// set the speed at 60 rpm:
myStepper.setSpeed(60);
// initialize the serial port:
Serial.begin(9600);
}

void loop() {
// step one revolution in one direction:
Serial.println(“clockwise”);
myStepper.step(stepsPerRevolution);
delay(500);

// step one revolution in the other direction:
Serial.println(“counterclockwise”);
myStepper.step(-stepsPerRevolution);
delay(500);
}