The pain may be due to dislocation or any other abnormality in structures around
patella. There can also be an abcess around the patella. If the pain is not reducing on medication, then a surgical option may be the next step. You must discuss this with your orthopaedician.