The stoning sequence differs between the Day of Sacrifice (10th) and the Days of Tashreeq (11th-13th). On the 10th of Dzulhijjah, only one pillar is stoned: Jamarat al-Aqabah (also called al-Kubra — the largest pillar, located nearest to Mekkah). You throw 7 pebbles at it, saying 'Allahu Akbar' with each throw.
On the 11th, 12th, and 13th of Dzulhijjah, all three pillars are stoned in a specific order, starting from the one farthest from Mekkah and moving toward Mekkah: (1) Jamarat al-Sughra (the smallest, farthest from Mekkah) — 7 pebbles; (2) Jamarat al-Wusta (the middle pillar) — 7 pebbles; (3) Jamarat al-Aqabah / al-Kubra (the largest, nearest to Mekkah) — 7 pebbles. This order is wajib (wajib) menurut jumhur ulama.
The Sunnah after stoning al-Sughra is to move to the side, face the Qiblah, raise your hands, and make a lengthy doa. Similarly after al-Wusta — stand, face the Qiblah, and make doa. However, after stoning al-Aqabah (the final pillar), you do NOT stand for doa — you simply leave the area. This follows the exact practice of Nabi (shallallahu alaihi wa sallam). The modern Jamarat bridge is a multi-level structure designed to ease crowding — you may stone from any level, and the pillars are now wall-shaped (not actual pillars) with a basin to catch the pebbles.