Thanks for writing your query.
After reading your post, it seems that you have suffered soft tissue injury
. Give rest to your leg.
You can take antiinflammatory drugs like Ibuprofen
twice a day after meals along with antacid
. You should consult a doctor and get yourself examined and investigated and take medicines under medical supervision only.
I hope this is helpful to you.