In order for new information to be lodged in long-term memory, you must review it multiple times. In other words, just going to class once won't help you learn your class material
Make sure to review your notes immediately after class, and several times after that on a consistent basis. You'll be amazed at the difference it makes on your next test.