Hi and welcome to ehealth
I highly suggest you make an appointment with your doctor. I'm not a doctor but I have had problems with my kidneys for a very long time. It can be a variety of things for example: kidney stones, UPJ obstruction, infection, etc..
You really need to get some tests done (ultrasound, blood and urine) to find out the cause of your symptoms.
It sounds like a blockage but again I'm not a doctor, I've been through this before.
Sorry I couldn't offer more.
Please keep up posted.
Best wishes..