How do I prevent myself from freezing up during the game?

I’m a new DM/player with only a few weeks of experience in playing the game at university. My flatmates and I decided that we should all have a dnd game after I explained the concept to them.

They elected me DM as I’m the only person in this group who has had any experience playing. I decided to look up pre written modules and I tried my best to learn the first chapter in Lost Mine of Phandelver and took notes. After about a week where my players all created their character.

We had our first game. I felt like as soon as I started I forgot every single note I’d made and I kinda kept fumbling my words and repeating statements. I had my players meet gundren in a tavern in neverwinter as he gives them the quest. My nerves got the better of me and I ended up freezing up for quite a bit during the game. I ended the game after the first encounter they had against the goblins about an hour into the game because I felt too embarrassed and awkward and said we’d probably continue the adventure next week.

Is there any way to recover from this mess.