\documentclass[enabledeprecatedfontcommands]{scrbook}

\begin{document}


\paragraph{Paragraph}

and text

\paragraph*{Paragraph{*}}

and text

\subparagraph{Subparagraph}

and text

\subparagraph*{Subparagraph{*}}

and text

\end{document}
