servo motor control by PIR sensor

but I don't know how can I ? is there code in this forum ? could you help me ???