L289n not spinning motors on 9v battery

I actuallu just connected to the battery directly to the motor and ot worked somehow