Personally, I find it helps to just treat the interview as a conversation. I know it's easier said than done but it really helps to treat it as it is doesn't matter. You can even go in with the mindset that there's no chance you'll get the job so who cares how the interview goes. Ironically, you'll be able to give off more confidence that way. Not giving a fuck really works (though you'll still need technical competence).
Personally, I find it helps to just treat the interview as a conversation. I know it's easier said than done but it really helps to treat it as it is doesn't matter. You can even go in with the mindset that there's no chance you'll get the job so who cares how the interview goes. Ironically, you'll be able to give off more confidence that way. Not giving a fuck really works (though you'll still need technical competence).