The second alternative is correct.: make sure to write down the main ideas
Attending a lecture can be important for your personal, intellectual, professional or academic development. That way, when the subject is of your interest it is important that you write down the main points of the lecture, the main ideas presented by the speaker. This can be useful so that you then do a more in-depth search of each annotated topic.