Page layout with LaTeX is a complicated matter. A cursory glance at the LaTeX documentation shows that the layout is determined by 11 different parameters. However, I find that the following commands are sufficient for most purposes:

If you want more control over your margins, then I highly recommend the LaTeX geometry package.