To use/include a figure within an Overleaf document you first have to upload it via the project menu. You can then specify the size of the image in the output document using the options to the includegraphics command:
\includegraphics[width=0.5\textwidth]{my-uploaded-figure.png}