Based on your description of this pain and its location, you may have what's called Osgood Schlatter's disease (also known as tibial tuberosity traction injury
). This pain comes from the patellar tendon pulling on the tibia (lower leg bone) when we are younger and the growth plates have not fused yet. Small pieces of bone can fracture
off causing pain and swelling. Over time, the growth plates fuse, the injuries heal, and the pain should (in theory) stop. However, in some people with severe disease early in their life, it takes years for the pain in the knees to go away. Still some people report mild pain after heavy exercise even years after puberty.
I suggest that you schedule an appointment with an orthopedic surgeon
. He or she can examine you knees and order any imaging necessary such as an x-ray or MRI. If your pain is derived from the so called Osgood-Schatter's disease, then you will likely grow out of it eventually. In the mean time, you can use pain control with Tylenol and Ibuprofen, and ice/rest when your knees really hurt. You may benefit from some physical therapy to regain strength in muscles that you have not used because of the pain.