A. Manually save your document frequently by tapping on the three dots in the upper right corner and selecting 'Save'.
B. Enable iCloud Drive for Pages to ensure your documents are saved automatically. Go to Settings > [your name] > iCloud and toggle on iCloud Drive.