how to program servo motor for robotic arm

Please post code.
Please don't post multiple posts on the same topic.