[header] How to avoid someone trying to distract you in the classroom [title] Be alert. [step] Make sure your body language communicates that you're focused and ready to learn. Lean slightly forward and keep your head up so you can see the teacher. 
A distracting person isn't likely to talk to you if you look unavailable. [substeps] Try not to look bored so you don't invite conversation.