Have you tried warming up and cooling down when you exercise?
Have you included stretching as part of your routine?
This might be ilio-tibial band syndrome:
http://www.emedicine.com/PMR/topic61.htmme
If you have low back pain it might be from a disc problem.
I'd see a doctor if simple changes don't help.
Grace and Peace