Newbie Question: Make a servo turn 90 degrees and stop.

Add Serial.begin(115200); and Serial.println("Setup called"); to setup(). See if your Arduino is constantly resetting.