Export to PDF, leaves margin at the top on the first page but not in the others

How can I change the top and bottom margins of the document? After exporting to PDF, the letters stick to the margins. How can I create the same space on the bottom in the second and others space?