Figures go over the margins, how can I make them obey the A4 paper margins and if there's no space available make them move to next page?

MWE:
\usepackage[main=english]{babel}
\usepackage[margin=3cm,left=3cm,top=2cm,bottom=4cm]{geometry}
\usepackage{subfig}
\usepackage{float}
\usepackage{graphicx}
\graphicspath{{"/Volumes/X/Dados/teste Latex/meas 2020/"}{"/Volumes/X/Dados/teste Latex/meas 2019/"}}
\begin{document}
\section{Individual graphs}
\begin{figure}[H]
\subfloat[PRT03]{\includegraphics[width=0.3\textwidth]{"22 NFA511 191219 PRT02 meas"}}\\
\hspace{0.5cm}
\subfloat[PRT04]{\includegraphics[width=0.3\textwidth]{"22 NFA511 191219 PRT02 meas"}}\\
\hspace{0.5cm}
\subfloat[PRT04]{\includegraphics[width=0.3\textwidth]{"22 NFA511 191219 PRT02 meas"}}\\
\hspace{0.5cm}
\subfloat[PRT04]{\includegraphics[width=0.3\textwidth]{"22 NFA511 191219 PRT02 meas"}}\\
\hspace{0.5cm}
\subfloat[PRT04]{\includegraphics[width=0.3\textwidth]{"22 NFA511 191219 PRT02 meas"}}\\
\subfloat[PRT04]{\includegraphics[width=0.3\textwidth]{"22 NFA511 191219 PRT02 meas"}}\\
\subfloat[PRT04]{\includegraphics[width=0.3\textwidth]{"22 NFA511 191219 PRT02 meas"}}\\
\subfloat[PRT04]{\includegraphics[width=0.3\textwidth]{"22 NFA511 191219 PRT02 meas"}}\\
\subfloat[PRT04]{\includegraphics[width=0.3\textwidth]{"22 NFA511 191219 PRT02 meas"}}\\
\subfloat[PRT05]{\includegraphics[width=0.3\textwidth]{Tiger-80}}
\hspace{0.5cm}
\end{figure}
\end{document}

\\after each so they are all in the left third of the page. Delete all the\\? – David Carlisle Feb 08 '20 at 13:15example-imageas the image, which is available for tests) that shows the problem. – David Carlisle Feb 08 '20 at 13:16figureenvironment is an unbreakable box, even if you get 3 per line, can you fit more than 6 or 9 on a page??? – David Carlisle Feb 08 '20 at 13:17\ContinuedFloatcommand from thecaptionpackage might be useful. – leandriis Feb 08 '20 at 15:50