Question: in which direction does friction always act?
Answer: The normal force is one component of the contact force between two objects, acting perpendicular to their interface. The frictional force is the other component; it is in a direction parallel to the plane of the interface between objects. Friction always acts to oppose any relative motion between surfaces.