To play as one of the infected in Left 4 Dead 2, you'll generally need Xbox Live and access to Versus mode.
In Versus, players are split between survivors and the special infected, giving you the chance to take on the zombie side.