When you create a document, and save it (file / save), it will save in the native affinity publisher format of .afpub. When you export a document (file / export) you will have options as to what format you want to export it in including pdf. So create a document, add your content, export a document in a format that meets your needs.
If you go to open new document and you select the different presets, such as print, devices, web etc, you will see that the settings such as dpi and document size change, this is providing you with a basic setup to work with, which is very handy for those of us who aren't experienced with this stuff. It provides a starting point but you can set it up however you personally want it.