See your doctor
You may need to have a brace to help your patella track better. In severe cases, sometimes surgery is needed to help control patello-femoral pain.
This may be arthroscopic, or open, or both. But you need to seek help from a specialist to help control it.