Hey there!
Ouch, sounds painful.
You could have pulled a muscle if you didn't hit it on anything. Have you been doing anything that could put a strain on your muscles?
For now, try taking acetaminophen. (Advil or Tylenol.)
Answer:
For me, my knees hurt all the time because of a hereditary issue. My mom had knee pains and my grandmother. If your family has a history of pain, that could be a possible reason. But I'm not sure. Just take it easy!
Explanation: