Hello and welcome,
How fast do you want it to move?
How far do you want it to move?
A stepper motor runs on steps … Pulses… Not time… A DC motor or AC motor can run on time.
A stepper motor is a precision device… 1 step = 360 degrees / 200 steps… If you use a microstepping drive then 1 step can be very small…
You need to explain what you want to do… In much more detail… What makes the motor start and stop?
You also need to try to do it yourself… Even if you fail… You are at least trying to learn XOD