how to fix error code

I cant figure out how to fix

''exit status 1
expected initializer before ‘servo’

and I have #include <Servo.h> in my code

You’ve made a mistake but we cannot possibly see it because you haven’t posted the code that gave the error. Either fix the code or post it so we can maybe tell you how.

int Servo servo 1 ;

You seem to have lost a set of parenthesis there. They aren't optional.