Stepper motor does not turn

You have not posted your program or your circuit diagram.

The Pololu A4988 web page has a good circuit diagram - and lots of other useful info.

Try this Simple Stepper Code

...R
Stepper Motor Basics