The steps are similar across platforms, with one meaningful difference: cost.
You need an internet connection first — wired or wireless. On Xbox 360 you also need Xbox Live, which is a paid subscription. On PlayStation 3 and PC, online play is free of that extra charge.
From there it is straightforward: launch the game, choose Multiplayer from the main menu, browse or search for a server, and join. On PC you can filter by map, mode, and player count before committing, which is worth doing to avoid landing in an empty lobby.