How do I set the page layout from Portrait to Landscape

When I am creating a new “writer” document, how do I set the page orientation from Portrait to Landscape?