I keep having this pain on my right flank that goes from aching to sharp, my entire upper back aches (in the rib cage area below my shoulder blades-maybe from tensing up from the flank pain).  My temperature has been between 96.8 and 97.2 (orally) so I dont think it is an infection.  I have been having regular bowel movements.  I am still over 2 weeks from my period.  My urine is slightly cloudy, but not overly so.  No visable blood.  I am on a very healthy diet that has cut out gluten and dairy.  I have lost 25 lbs (on purpose) in the last 4 months. When the pain goes from achy to sharp it is almost unbearable, but I a frustrated because when I finally give in and get my kids packed up and start heading towards an urgent care center it goes back to achy.
For back pain you need to exercise properly your spinal muscles from neck to back.  And there is lot in that I would suggest to start consulting a physical therapist anyone good you know.  As well also check your calcium level and via d level, I am sure both will be poor.  So start some good calcium and via d supplement too.  For vitamin D I believe the natural sunlight source is best but for a faster result you can also take some supplement for time being.  And when ever there is pain I suggest applying hot pack on painful area as well post use of it also apply pain relieving ointment.  Still if pain persist consult a good or tho or euro in personal or post your question once again here. Take care