Hi
Sorry you are going through this.
It sounds like kidney stones. The pain can come and go. sometimes it will come on strong and leave you in a lot of pain, if it gets this severe you need to get to the ER, when it's at this point the stone is either lodged (blocking the flow of urine causing the kidney to swell.....hydronephrosis) or the stone is passing through the ureter.
It all depends on the size of the stone. Some stones can pass with little signs, some with a lot of pain and others are too big and may need to removed by litho or the doctor going in to remove it.
Is the doctor going to order a scan to look for kidney stones?
I've been getting stones for many years. Feel free to ask whatever questions you have.
Best wishes