Please provide details like you age ,gender, other medical conditions etc.
Normally if you have been practicing yoga for many years then it should not happen. So something is going wrong somewhere.
Just for an example, I saw similar issue in one of my students but her problem was that she started her dance class despite she was overweight. Dancing damaged her knee ligaments because of her weight.
So knowing about your background is necessary before commenting anything.