How long after eliminating stress and fixing diet does TE stop? Months or immediately? Searched but can't find an answer

Is there experience in this sub or people who know that can chime in? Does it get better immediately after you eliminate the stress and eat the nutrients, or does it take weeks?