Osgood-Schlatter disease most often happens while you're still growing. But it's not “growing pains.” It's a medical problem. And it needs attention. If you rest your knee and briefly change how active you are, you'll most likely get better. It may help to reduce the amount time you are active in sports. You may not need to stop completely. Work with your health care provider to make a plan. Make sure the planfits safely fits with your athletic goals.
You may have to wear a special strap around your knee. Or you might need knee padding to protect your knee from direct force. Stretching the hamstring and the quads may help. Strengthening exercises may help. It may help to take over-the-counter pain medicines (nonsteroidal anti-inflammatory drugs, or NSAIDs). Talk with your provider before taking these medicines.
Only in rare cases will you need further treatment. Just focus on giving your knee a little time and a lot of rest.