Question Peeves on his actions, then convince him to stop and think about what he's doing.
Use the Stunning Spell on him, and then use Reparo to fix the glass objects.
Use the Stunning Spell on him, and then tell a Professor about the incident.
Tell him that's not so entertaining, and walk away to continue on your quest.
I'm too tired, so I need sleep.
The History of Magic exam is in two days, so I need to start reading.
I didn't want to go alone, so I'm just enjoying my night without it.
I'm spending the night in the Hospital Wing, too sick.
Ask my Professors key facts about certain topics.
Form a study group, and ask questions.
Study at the Library, and read multiple books for each class.
Remember each past lesson carefully.
Concentrate on using the spell, and say it slowly.
Practice the spell on a mannequin.
Ask members of the Dueling Club if they know how to use it.
Research the proper incantation for the spell, and learn facts about the spell.