How to survive and thrive in a difficult Chinese course

How do you survive a Chinese course that’s too hard for you, regardless if you ended up there on purpose or because of circumstances? What are the key strategies to ensure you stay afloat and learn as much as possible?