use example sketch
Your topic has been moved. Please do not post in "Uncategorized"; see the sticky topics in Uncategorized - Arduino Forum.
Never post screenshots of code; please read How to get the best out of this forum (again) and learn to use code tags when posting code.
Please study examples in the IDE for the servo. Please look up some examples for the PIR sensor.
Once you have combined it all and it does not work, come back describing the problem.