Acceleration is a vector in the same direction as the change in velocity,
When speed is increasing , then velocity as well as acceleration is in direction of motion.
When an object slows down, its acceleration is opposite to the direction of its motion. This is known as deceleration.
Regards