Servo won't respond with ultrasonic sensor

Alright I got it to change the power supply anything with code I need to do before I make the changes?