That's a tough question really. Personally, I find 3 things help me get in the right "frame of mind" to face a challenging day like the first day of classes:
Listen to uplifting music on the way to school/university
Make sure you have something nice to wear. Your perception of your outward appearance is key for boosting confidence.
Get a good night's sleep the night before. It will help you feel energetic and positive for the next day.