canyou post the exercises?
Step one is to make sure you are activating your core muscles correctly. In yoga this is called "root lock", if your core isn't stabilized properly then your body will do whatever it can to make sure it protects your spine. Which typically involves tightening other muscles to make up for this.
A Beginner’s Guide to Mula Bandha (Root Lock)
Once you have that down, here are the exercises to work the hip rotators:
This is for the glute medius, which helps keep your pelvis in line from left to right.
This is for the hip adductor, to balance out the glute medius work so that there is balance on both sides of the femur. I do this with a band.
This is the clamshell exercise to make sure the external rotators are strengthened to protect the knee from collapsing inward.
Here are some other points to check to make sure you're getting all of these activations correct:
If you have a mini band, you can also do the monster walk and sumo walk, these work on overall glute and hamstring activation.