Usually at your age this kind of pain could be associated with the following
if you had history of fall or injury then this is the most common cause and you need to see a doctor
you may have some
vitamin d deficiency so may need to get tested for that
tips to avoid knee pain are the following
avoid sitting on the ground or crosslegged
keep a small pillow below your knees before sleeping
if still not getting relived with the above tips please see orthopaedic doctor as soon as possible