SN1 and SN2 both are different types of reactions and both are differ to each other.
SN1 reactions are substitution nucleophilic unimolecular reactions and it is two step reaction. It's rate of reaction directly depends on stability of carbocation. wheares SN2 reactions are substitution bimolecular reactions and it's rate of reaction is mainly dependent on the strength and concentration of the nucleophile.