Belyi's theorem says that every smooth projective curve $X$ over $\overline{\mathbb{Q}}$ is a cover of $\mathbb{P}^1$ ramified above 3 points. The key is to find a modular curve that is a thrice-punctured $\mathbb{P}^1$ without elliptic points. The classic example is the modular curve $\mathcal{H}/\Gamma(2)$. Let $X^*$ be the preimage of the branch points in $\mathbb{P}^1$, then $X^*\rightarrow\mathbb{P}^1 - \{3 \text{ points}\}\cong\mathcal{H}/\Gamma(2)$ is an unramified cover. Since the image of $\Gamma(2)$ in $\text{Aut}(\mathcal{H})\cong\text{PSL}_2(\mathbb{C})$ acts freely on $\mathcal{H}$, $\mathcal{H}$ is the universal cover of $\mathcal{H}/\Gamma(2)$, and every intermediate cover takes the form $\mathcal{H}/\Gamma$ for some $\Gamma\le\Gamma(2)$. In particular, applying this to $X^*$, we find that $X^*\rightarrow\mathcal{H}/\Gamma(2)$ is of the form $\mathcal{H}/\Gamma\rightarrow\mathcal{H}/\Gamma(2)$. Taking smooth compactifications, we find that $X$ is the smooth compactification of $\mathcal{H}/\Gamma$.
Note: Since $-I\in\Gamma(2)$, it might be cleaner to use an index 2 subgroup of $\Gamma(2)$ which does not contain $-I$. There are four such subgroups. One of them is the Sanov subgroup, freely generated by $[[1,2],[0,1]]$ and $[[1,0],[2,1]]$. It acts freely on $\mathcal{H}$ and has the same image in $\text{Aut}(\mathcal{H})$ as $\Gamma(2)$.