I need to get in shape. Should I get an exercise bike/elliptical or something or should I get a gym membership?

Disclaimer: I'd just use the gym membership to derp around on the exercise bikes and ellipticals anyway.