Would it feel better if you lie on your back on a firm surface with your knees over a pillow or up on a chair? If so, you might have a bulging disc. Or you could have kidney stones. Only your doctor can assess this. He might be able to figure it out by questioning you and poking you here and there. You might need x-rays or, more likely, an MRI.