\documentclass{article}
 
 
%Normally counters declared in preamble

%Create counter mycounter, reset entering section
\newcounter{mycounter}[section]

\begin{document}

   \section {Introduction}

      %Atribute value to counter mycounter
      \setcounter{mycounter}{3}
      The value of \emph{mycounter}: \themycounter.
   
   
   \section {Section 1}

      %Atribute value to counter mycounter
      \stepcounter{mycounter}
      The value of \emph{mycounter}: \themycounter.
      
      \addtocounter{mycounter}{-2}
      The value of \emph{mycounter}: \themycounter.
      
\end{document}
