general advice:
rice
r - rest
i - ice
c - compress
e - elevate
keep your leg well rested, also get enough sleep, because your body recovers best when you're asleep.
apply ice (not directly!) to the bruised/swollen parts
compress (can be combined with icing, for short periods) using bandages or some kind of tights
elevate your hurt ass. well i guess that's not easy, but you can definitely put your legs up.
best wishes for your recovery. make sure you take it easy for max healing!