A4988 stepper problem

Hi so i have a problem with my 3D printer the X axis only move i one direction and when i try to move it to the other direction it start vibrating but sometimes it work normal and when i checked the board i found that the A4988 is responsable for that so how can i fix it
thank you

I am sorry you are having a problem with your stepper motor driver. How did you determine the board was the problem? What are the ratings for your stepper motor, and what did you set your current limit to? What are you using as a power supply? Could you post pictures of your setup that show how you have things connected?