Arduino Acts weird when using servo libary?

but If I can not use 9 and 10, then there is not enough.

It does not stop you using those pins, it just stops you using PWM on those pins.