\end{document}
LATEX ignores anything which follows the \end{document} command. The only text after this should be comments, since you have now finished your document.