You stay sober at school the same as you stay sober anywhere else: you just don't drink no matter what. I'd suggest staying away from bars and parties until you've got some serious sober time.
Focus on your studies. Staying sober can be hard but it's so worth the effort.