Putting oil on a chain is pretty simple, and should be done fairly regularly. You get a "can" of oil, like this:
and put a few drops on your chain while you turn the pedals backwards. Continue to turn them for a bunch of revolutions to distribute the oil. That's all there is to it.