Help me please. Tell me about how to spin the stepper motor as degrees.

Which of the examples have you looked at yet? Find all the ones
that are relevant to potentiometers and stepper motors and study them...

The playground http://playground.arduino.cc/ is a good place to look.