Avoid sleeping in class

Bring a water bottle to class

Every time you get that tired feeling or you start to zone out, drink some water. Drinking cold water helps keep you hydrated to keep you focused. If you don’t drink enough water, your body doesn’t function as well as it could.

Sit at the front of the class

Being closer to the teacher is a great motivator to stay awake in class. Studies have also proven that sitting in the front of the classroom, leads students to receive higher grades on exams. Win-win, am I right?
Be active
Interact with your professor! Even if they don’t provide engaging activities, you can make them. Don’t be afraid to ask questions.

Chew gum/bring a snack

Chewing something activates specific regions of the brain meaning your brain become more active and you stay more awake!

Take deep breaths

By taking deeper breaths, you raise your oxygen levels, slowing your heart rate, lowering your blood pressure, and improving circulation.

Go to bed early

So you can wake up early and feel well-rested.

Get some exercise before class

The adrenaline from working out, taking a stroll, stretching, or doing some jumping jacks before class will help you stay awake.

Keep a good posture

If you focus on sitting straight up in your seat, you won’t be able to fall asleep. You rest your head and you will crash and burn.

Take notes (or doodle if it helps)

It keeps you active and it helps you focus on what you’re learning in class. Even if it’s random scribbles, it’s better than being asleep.

Walkabout in the back of the classroom

If you get tired, just find a spot in the classroom where you are not distracting anyone and walk about back and forth or take notes while standing.

Reference

https://jsom.utdallas.edu/blog/sleeping-in-class-dos-donts