If you have just injured your knee, it’s vital to consult a doctor. In the case of chronic pain, the quicker you consult your doctor, the better.
If left untreated for a longer period, the conditions like Arthritis can reach a stage where you might need surgery.