You need some some stretching as well as strengthening exercises of these muscles. And some modality based treatment to decrease the inflammation and pain at the bottom of the knee.
Next Steps
Go to a physiotherapist.. Ultrasonic therapy +some strengthening exercises will be helpful.
Health Tips
At home.. Rest +hot water fomentation +pain killer gel +use knee cap.