\documentclass[enabledeprecatedfontcommands]{scrbook}

\begin{document}


\paragraph{Paragraph}

and text

\paragraph{Another Paragraph}

and text

\subparagraph{Subparagraph}

and text

\subparagraph{Another Subparagraph}

and text

\end{document}
