Fro lm the information you provided that can be sprain. Take rest and dont strain the affected leg until the symptoms subside to some extent. Put hot fomentation if necessary to relieve pain. But if you notice any restriction of movement or if problem persists consult a nearby physician once.
Next Steps
homoeopathic medication has no side effects and its completely safe to use for your pain and your problem. consider consulting nearby homoeopathic physician once if problem persists.