Cracking knees can be a cause of the knee pain. If you have a history and pain, get it checked out! You might look into physical therapy. A trained PT can help with pain reduction, prescribing the right exercises for you and relieve pain.
There is no need to be worried, as this is a fairly common complaint. However, it would be recommended to seek the assistance of a physical therapist. It is great to catch this type of issue early before it becomes painful and the cartilage breaks down under the knee cap. It is typically due to tension of the thigh or quad muscle causing compression of the knee cap (patella) into the joint, causing it to "crack" click or pop. Weakness of the hip muscles and joint mobility can be other factors that a PT would help determine. Then, with treatment and recommendations for exercises to continue with at home, this issue can be resolved. I have cleared these issues in as little as one visit, but, depending on the severity, it may take 6-12 visits.
be a great idea!
Hope this helps,