Having problems with muscles and joint is common as you are an athlete.do not take stress..it can be relieved.as your are aware about your problem you should start steps toward it's treatment..
Hot fermentation
Stretching and strengthening exercises.
Specifically iliotibial band stretching n strengthening
Tens and us therapy can be started.
U can take help of a physio near you for the above treatments.
Next Steps
please do a proper warm up and cool down before any specific activity.this will prevent any muscle and joint related issues further.
Health Tips
all the v best.if not relieved contact me through practo chat.