Dear student,
When we actually move or even tey to move a body over any surface, the motion is opposed by the bonding between the body and the surface. This opposing force is called frictional force. The direction of the frictional force is always in a direction opposite to the motion.
e.g If an object is to move with a constant velocity, a force equal to the opposing force of friction must be applied. In that condition the two forces are balanced forces. They exactly cancel one another and the net force on the body is zero. Hence the acceleration produced in the body is zero and the body maintains its velocity. It neither speeds up nor slows down.
Regards!!!