Kidney stone could get you in real agony, I'd rather give birth.... So, hoping it is not that.
Twisted lower back can be alleviated by laying on your back, legs pulled up a bit, and then slowly letting the knees (and legs, of course) fall to the right and then left alternately.
If you start getting a fever, visiting a doctor is a good thing too.