In the view of the vague nature of your question and the lack of details, for example you do not tell your age and/or pprevious history, my answer will be very general. The most common cause of knee pain is the chondromalacia patella or Patello femoral syndrome, in the case that you have history of a traumatism in the knee, some other causes must be rule out, for example: ligament, meniscus, muscle or capsule lesions. As you see, it depends on several factors to determine the nature of the knee pain. If you are taking anti-inflammatory medication and the pain continues or even gets worse, I strongly recommend you to have an evaluation by an orthopedic surgeon.
These Q&A’s are for educational purposes and should not be relied upon as a substitute for medical advice you may receive from your physician. If you have a medical emergency, please call 911. These answers do not constitute or initiate a patient/doctor relationship.