Hello, you need to take vocal/ voice rest very often or schedule your class such that you get rest time equal to as much as u have used your voice. I would suggest, consult a Speech or voice therapist for better understanding.
Next Steps
consult speech or voice therapist
Health Tips
keep your self hydrated and voice rest is important