This can be caused by a variety of reasons. If you are older, you may have arthritis. If you are more active, you may have torn cartilage in your knee. Try icing your knee. Go to your doctor for an examination. Try buying a knee brace for support.