Simple page numbering
The simplest case is to have the page number at the top of every page and nothing more. To do this, put the cursor on the header and select Insert > Fields > Page Number.
Page number inserted in the header.
Now the correct page number appears on every page.