By default, LaTeX will start all text at the left margin. If
you want to center a title, a table, etc., surround what you want
centered with the commands \begin{center} and
\end{center}.
Practice:
Create a document containing text that is and isn't centered.