Open the PDF in a PDF editor that supports page numbering
Select the page numbering or header and footer tool
Choose the page number position, font, size, and format
Set the page range if you want to number only certain pages
Apply the page numbers to the document
Save the updated PDF as a new file
