latex font size 20pt

How to get a document with font size 20pt?

If your using one of the default documentclass e.g. article with default font size 10 pt then just use the command \huge and size will be increase to 20 pt.

\documentclass{article}
\begin{document}
\huge
text text ...
\end{document}