It sounds like you're trying to put on the rear wheel, and then put the chain around the cog and chainring. You have to wrap the chain around the cog and chainring, and then pull the wheel back to tighten the chain and tighten the axle nuts. Experiment with proper chain tightness from there.