it's on the tip of my tongue
Use this to say that you know a name or word, but you are having difficulty remembering it at that moment.
To forget what you were going to say or what you are supposed to say when speaking or acting, especially because you are nervous.
your mind goes blank
If your mind goes blank you are suddenly unable to remember something at a time when you need it.