To take notes more effectively, don't just write everything that's on the slide in the presentation, also pay attention to the details that the teacher is talking about and add those to your notes. Important details that you want to add to your notes would be important dates, how an event unfolded etc. (think of the who? what? when? where? how? and so?)
Having a highlighter also helps. Highlighting important details and dates are also very helpful. Color-coding can be very helpful. Assigning a color like for example red for dates and yellow for important details is also very helpful in note-taking, especially math. After writing your notes, study your notes at night before going to bed, roughly an hour before going to bed and early in the morning when you wake up. Studying and reviewing your notes everyday will help you prepare for midterms and final exams.
Flashcards are also very helpful if you need to study and memorize history dates and vocabulary words. You can also mix and match flash cards. Studying your flashcards an hour before you go to bed and early in the morning when you wake up is also very helpful.
Finally, this advice may seem insignificant, but it is still very helpful and important. Don't underestimate the importance of eating a healthy breakfast and getting enough sleep! Scientific studies have shown that for example eating blueberries and having matcha improves your brain performance. Your brain is a muscle, it needs nutrients in order to function properly.