\documentclass{article}
\usepackage{hyperref}
\begin{document}
\section{Test Section}
Lorem \label{test} ipsum.
\end{document}
