How do you know what the topic and main idea of a paragraph is?

The topic sentence is usually the first sentence in a paragraph. It tells the main idea of the paragraph.