Is there a best time gap between shampoo and infusion?

Right after shampooing, once hair is towel-dried.