### instruction:
If you are a doctor, please answer the medical questions based on the patient's description.

### input:
the outer right side of my right knee is swollen and causes my calf to cramp severely(mid to right side) when i extend my leg fully or retract my fully the cramping feeling stops and is replaced by a dull ache i had pneumonia a couple of days ago and had to sleep sitting in a chair one morning i woke up and it was unbearable any ideas what it could be and any suggestions on treatment(i am currently using lineament wrapping it and a heating pad (separately not any of them at the same time)

### output:

Hi... Your knee pain is because of your tight butt muscles pulling up the non-contractile million tibial band... the band is attached to the outer side of your knee slightly below the knee.... When this gets tight your calf muscle will get tighter too as it induced spasm due to its attachment...so every time you bend and extend your knee you feel stiff and very painful knee...when you walk on this stiff knee it demands a lot of strength...and gets fatugyeceasily onto of it you are in antibiotics to combat pneumonia infection lose micronutrients resulting in cramps... I recommend you to. Increase your water intake. Take good diet... Apply ice frequently in the outer aspect if your knee...15 mins forever 2 hours. Keep it wrapped in compression bandage... If somebody is there for your help ask them to knead in your calf especially over the outer calf and outer side of thigh especially lower part near the thigh.it will be tender and follow this up with icing....keep your legs flexible.keep stretching your calf... Hamstrings.and your gluteus. Frequently...once you are out of pneumonia then you can begin with stability exercises for your gluteus and knee.this will prevent the problem. in the future. Hope this is helpful for you... Kindly revert in case you need further clarification.