Step Motor Not turning Both ways

Hey, I’m making a CNC and one of the motors is not working properly. One of the motors only turn one way but not the other, how do I fix this? One motor works just fine and the board works perfectly. Can anybody help?