After the story sequence leave Kokiri forest to the West. On your way out you'll get the Ocarina from Saria automatically. Head for the market. Use your map subscreen if you need to find it. Explore the market for a while and when you're ready move on to the Hyrule Castle grounds.