The more you've prepared for class, the more you'll understand the lectures. You'll also take better notes because you're more familiar with the topic. Still, some note-taking technique are better than others. One of the best known is the Cornell method. Take good notes and you'll find it easier to study for exams.
(Video Running Time 2:37)