It means to not have sexual relations with a woman for a long period of time interspersed with an incredible amount of masturbation.
Tod: What's been up with john? He seems down.
Jake: Oh, he's been Pulling a Gordon for the past few months...
Tod: Ouch... that's sad.