\documentclass[12pt]{article}
% Orizo tin kodikopoiisi toy keimenou
\usepackage[utf8]{inputenc}
% Orizw tin kodikopoiisi tis gramamatoseiras
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\author{EldenLord}
\title{My tittle}
\date{2/3/2023}
\begin{document}
\maketitle
\section{My first section}
This is my first section
\subsection{This is my subsection}
This is my first subsection
\end{document}
