Bruised and inflamed knee cap no previous injury

Patient: I’m an 18 year old female. I have played soccer religiously for 8 years. During my game last week I was running and all of a sudden it felt like my knee was popping every time I bent it. This pain lasted after the game and for a few days after. It just went a way a couple of days ago, but I played another game today and it is back. The pain is on the inside of my leg towards the center of my body. It feels like something is rubbing up against my knee cap every time I take a step. I have never injured this knee ever before. Is this something that just needs to heal on its own or do I need to go get it checked out?