Holy crap, same thing happened to me less than a week ago.
Clipped the top of the knee cap, and its all swollen, cant run track until the swelling goes down.
I recommend the standard remedy for any swelling, ice. Then heat, like a bath or hot tub, but always heat after the ice, and no heat right when you injure it, thats just a bad plan.