1) Write good notes (can use free software like cherrytree to make structured notes)
2) Solve as many practice problems as you can
3) Try to understand concepts rather than memorise steps to solving problems
4) Don't rely on one teacher
5) Don't be obsessed with your grades, improving the quality of learning will automatically lead to excellent grades