First, you want to get blocks like wood to make a shelter.
Once you have a shelter, get a pickaxe and a sword.
You need to get stone. Then iron, then gold and then diamond. Just get the best supplies.
Pick up anything you can find and put it in a chest or in the inventory.