The mental frame that I often use to help me be ok with looking (and feeling) stupid is: stupid now, smart later.
You can train yourself to invoke it when the feeling comes up, if you didn’t have the chance to preload it before the interaction.
I think the only requirement for it to work though is that the intentions behind your questions are whole.