I first thought these two ideas myself.
How did I learn to DM? I played a few/several times and then saw some of the other kids being the DM and tried it myself. I'm sure most was terrible at first. Maybe another tip might be to play a few times, make a small dungeon with you there to help...