Dear Student,
Friction is affecting by the following factors :
(1) It depends upon the nature of the surfaces in contact.
(2) It is also affected by the mass or weight of the object as well.
(3) The plowing effect and molecular adhesion also affect the friction..
Regards