I have an ache pain under the front of my knee cap, and also a deep pain in the back of my knee. What is going on?

Knee pain. The knee can be caused by arthritis, ligament injury, tendon tears, muscle strain ... It sounds like you might have some tear inside the knee. If your pain persists, seek help from a health care provider. You might benefit from a comprehensive evaluation.
Patellar problem? When you have pain in front the knee, that indicate most likely abnormal friction between the knee cap and the thigh bone(early arthritis)that cause tiny particle to drop in the joint, and cause the knee to react front and back , because the connecting front and back?