I want stepper motor speed 150 RPM

How can I get to 150 RPM using to stepper motor Arduino code?
Which code do I use? please help .