I have 6 years of experience as a software engineer as well as 2 years as a lead, and during work I am always able to communicate clearly about code be that during discussions about architecture/system design or when explaining/teaching to a colleague (even while fixing burning issues on production).But since I have started job hunting recently I found it very hard to do so during interviews. The moment I make a mistake in the solution or miss out answering any one of interviewer's questions, my mind goes blank. And then it goes downhill with my answers circling around what needs to be said or ends up being tangential to what was asked. I would only realize that after the interview or when the interviewer interjects.I have made peace with the fact that I generally get tensed before interviews and have a very high chance of getting mentally blocked during one, but I would really like to know if there is a way to get unblocked other than asking for a take away assignment or postponing the interview.