Arduino Acts weird when using servo libary?

This is the HBridge that I am using: