When citing sources, the
\cite
command must be placed before interpunction.
Example:
This is a beautiful sentence~\cite{someSource}.