A kidney problem or diabetes.
perhaps you have kidney stones. I would go to a doctor if I were you.
It's possible you have a uti, bladder infection, or kidney stones. You really need to see a doctor to make sure your kidney's are doing ok asap. If you get a high fever go to the ER.