Glad you asked :>
SOOo, When you're writing a summary, you need to write the important details that were in the text. (The details that lead to the main idea) Also, you'd want to write the message and put the author/title in the text -w-
Make sure not to write your own opinions or put unimportant details in the summary.