Thanks for sharing your concern with us
You might be having pulled muscle or You may have a kidney infection
, infected ureters (tubes from kidney to bladder), bruised kidneys-if you got hit in the back recently, etc.
Taking muscle relaxants in combination with mild pain killers will help you. Doing a hot fomentation and applying a local analgesic
gel on the affected area will also help in providing a relief.
Taking calcium and vitamin D 3 supplements will also help in early recovery. You can get these prescribed from your orthopedician.