Step 1: Wire up your servo
1) The brown/black wire goes to GND
2) The red wire goes to 5V
3) The signal wire goes to pin 9
(Note, you can pick the last wire's color)
You could plug your servo's signal cord into any pin, just make sure to type that pin number in myservo.attach(#) where # is what number you plugged it in. Notice the example picture is plugged into 9.