New to pcb designing for stepper motors

I'm new to robotics and I'm having a hard time figuring out how design the schematic for a pwm pcb that will controller the speed and direction of the stepper motor.

you are sure that you know what you want to do?