In LaTeX you can easily reference a section by using \\label{} next to a section and then \\ref{} to create the reference. However, the reference only
\\label{}
\\ref{}
Using the hyperref package, you could also declare a new command by using \newcommand{\secref}[1]{\autoref{#1}. \nameref{#1}} in the pre-amble. Placing \secref{section:my} in the text generates: 1. My section.
hyperref
\newcommand{\secref}[1]{\autoref{#1}. \nameref{#1}}
\secref{section:my}