Travel to the Faculty Tower of the South Wing, and head down the stairs to the ground floor of Gryffindor Tower. Move through the hall until you reach the locked bathroom where Peeves is said to cause chaos, and unlock it with Alohomora.