How do I roll options or exercised stock into an IRA or 401k?

I would like to know what needs to happen to roll exercised stock or preferably my options into my IRA or 401k to reduce tax liabilities. Where do I find information on this?