Draco put Harry under Petrificus Totalus to stabilise him and stop him from thrashing around. Hermione gave him an old, stinky, sweaty Chudley Cannons sock. The orange of the sock was a pain in the eyes. 