To scan a document with your phone, use a scanning app like Adobe Scan, CamScanner, or Microsoft Lens
https://scanner.biz/ . Open the app, take a photo of your document, and the app will process and convert it into a PDF or image. You can then save or share the file directly from the app.