\documentclass[border=1pt]{standalone}
\usepackage[polish]{babel}
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc}
\usepackage{fourier}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}

\begin{document}

\begin{tikzpicture}
  [vertex/.style={draw,circle,minimum size=8mm},>=LaTeX]
\foreach \i [count=\j from 1] in {45,90,...,360} 
  \node[vertex] (p\j) at (\i:2) {p\j};
\foreach \i [count=\j from 1] in {2,...,8} \draw[->] (p\j) -- (p\i);
\draw[->] (p8) -- (p1);
\end{tikzpicture}

\end{document}