beamer
is not a standard class: it is a specialist class for making presentations. As such, you cannot expect that all of the standard LaTeX commands will do something appropriate or, even, be recognised.
The class provides a wide range of customisation options, including overall themes, inner themes, outer themes, font themes, colour themes and templates. Look at the documentation and/or around this site for examples.
Here is just one:
\documentclass{beamer}
\usetheme{Berlin}% overall theme: inner, outer & colours
\title{Title}
\subtitle{Sub-Title}
\author{Author}
\institute{Institute}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\section{Section}
\begin{frame}
Hello beamer world.
\end{frame}
\end{document}
\pagestyle{headings}
command. It makes no sense to use that inbeamer
. (Don't use\pagestyle
at all here - it doesn't make any sense.)theme
and use that.