Sharp pain on my right thigh, sometimes hard to bend my leg and worst the pain seems to spread down to the sole. Why is this happening?

See your doctor. This is a problem that necessitates a face-to-face meeting with your doctor. This will allow him/her to examine you, ask specific questions. And possibly order tests to find out what's wrong and what to do to help you.