You have not provided a schematic of how you wired the chip or specified the power supply you are using to power the stepper motor or posted your code so there is not much we can do with no information other than your report that it is not working.
If you want to troubleshoot we can do that but you have draw a schematic by hand with pen & paper and post a photo of it.
Post your code. Tell us what you are using for a power supply, and we'll go from there.