how do I switch a document to DOC. or PDF format ?

I need to send a particular document, but it has to be DOC> or PDF formatting. How do I switch the document type?

LibreOffice Help - Export as PDF

LibreOffice Help - Saving Documents in Other Formats

File → Export as → Export as PDF. Check the available option, such as image compression, inclusion of automatically inserted blank pages, etc.