Just about every medical student will have challenges as some point, either with a particular class or with a rotation.
The most important things to help get you through are the following.
1. Pick a hobby (just 1) and continue it through medical school. Having something to do for a few hours a week will help you remain balanced. Recognize that you may have less time for it at certain times, but having a way to relieve stress is important.
2. Talk to your co students about struggles. It may appear that everyone has it together, but everyone struggles at some point. Recognizing this and asking others for help is huge and something you will need to rely on through your career.
3. If you are having a particularly hard time, access resources through your school. Medical schools want their students to be successful and have resources in place to help. Tutors, mental health experts, and simply other students who have been there before you.