Get her to a vet. as soon as possible to find out if it's an infection or stones. She is your forever FRIEND so help her out as soon as you can.
I would guess that or kidney stones. You need to get her to a vet
Make sure you get her somewhere tomorrow to determine if she has one. Call them tomorrow and maybe they can get her in.
Thanks! Your answer is awaiting moderation.