If you rearrange your document sections after generating your table of contents, you must refresh it to accurately reflect the new document structure. Click inside the table of contents and use the refresh or 'Update table of contents' button that appears to ensure it mirrors the current order and organization of your sections.