The usual Adult Dose for Pain is:
325 to 650 mg orally or rectally every 4 hours as needed, not to exceed 4 g/day.
However, since you only have one kidney it will be better to ask your doctor if you can take this medication and how much or if there is a better pain medication option for you.
He should be taking calcium, magnesium, vitamin D and vitamin C. Bones are made of calcium, muscles and nerves are controlled by magnesium, vitamin D is need for both those, and vitamin C helps everything. Doctors will not recommend those because they have no training in that field.
Start taking apple cider vinegar for an entire bottle of one shot per day until the bottle is gone.
Do you like to live then find out about what goes into your body in a proper way. My IQ is 147 or 181, depending on who you ask.
look eric berg on youtube about keto diet.
look at comments and keep searching if you actually have pain you would do this.