Anything you pick up will automatically go into the first slot you have open in your Hotbar, followed by your inventory.