First you'll have to initialize a paragraph, then add the string inside the paragraph and lastly add the paragraph to the richtextbox.
In the bellow example I will show you how to add a specific text in a richtextbox when a button is clicked.
private void btnAddText_Click(object sender, RoutedEventArgs e)
{
//we want to clear all text inside the richtextbox, or else each time we click the button the same text will be added over and over again
txtRichTextBox.Document.Blocks.Clear();
//We initialize 3 paragraphs
Paragraph textTitle = new Paragraph();
Paragraph textSubTitle = new Paragraph();
Paragraph textDescription = new Paragraph();
//We will add the strings to the paragraphs as well as bolding the first and justifying the 3rd
textTitle.Inlines.Add("This is a bolded title");
textTitle.FontWeight = FontWeights.Bold;
textSubTitle.Inlines.Add("This is a subtitle");
textDescription.Inlines.Add("This is a long text so in case you'll copy paste this code you will notice how the text is justified. Just remember not to make the richtextbox too big.");
textDescription.TextAlignment = TextAlignment.Justify;
//And here we add all 3 paragraphs to the rich text box
txtRichTextBox.Document.Blocks.Add(textTitle);
txtRichTextBox.Document.Blocks.Add(textSubTitle);
txtRichTextBox.Document.Blocks.Add(textDescription);
}