Friction always acts in a direction opposite to the direction of motion. Friction is the reason why you are slowing down when riding a bike and not using brakes, or why you're slowing down when ice skating, or why the ball stops after a while when you kick it.