If it's back of your thigh radiating to back of calf...might be your sciatic nerve is irritating. Get checked up with nearby Physiotherapist and take adequate sessions , Will be out of this problem
Next Steps
consult a Physiotherapist nearby.
Health Tips
avoid prolonged standing and walkings until your pain comes down