Constant knee popping and mild pain.

So im 17, almost 18 and out of the blue i get this knee popping. As for my bio, im 6'1 and around 155. Male Started randomly and now everytime i go up steps my right knee cracks. Like when you crack your fingers. It hurts when i put all of my weight on my right leg and hurts if i really use it when i climb steps. I think it might have something to do with me training HEMA (think historical fencing), which requires alot of knee usage. I didnt take a blow to the knee on my last class so im really confused, its not due to injury. It started one morning. I stopped going for the past 20 days because i thought it might just go away if i let it rest. But nope. Ill be visiting the doctor this weekend but do any of you have any idea what it might be? IT would be a REAL bummer if it was some sort of arthritis. At 17, yikes. And i never did any drugs, and neither do i smoke or drink. Thanks in advance guys!