There is no fixed answer to this question. Different brands deliver different results, but even more importantly it will also depend on the degree of damage to the head gasket. While most reputable sealants are capable of permanently overcoming minor leaks, it is unlikely a repair to a severely damaged gasket will last more than a few months.