Document Header & Footer

Document Header & Footer

Can you tell me the steps involved to create a header and/or footer in a document? I would like to provide a title in the header and page / number of pages in the footer. Thanks