Word can create a table of contents from the information in your document but first you need to mark the headings that you want included in the contents. This is done using styles. Each heading level needs to have a separate style for the table of contents to be successful. If you have not used styles in your document, you should first see the solution Working with Styles in Microsoft Word.
See the attached document for a full guide.