if it is drug related , den which drug u r taking? second thing, it may be some non-specific knee internal damage that can cause pain.
Next Steps
proper stretching exercise under guidance of a physiotherapist will help you. MRI knee can be done to see exact damage (if any)
Health Tips
avoid jerky movements at knee joint, avoid cross leg sitting, squatting position and long standing