HELP LADIES

I’m 38+5 and for some reason every night I have this excruciating pain in my lower stomach/back, when that happens I usually have to pee. After I pee, I feel fine. But I pee little by little. This happens every 10 minutes! Idk why or what’s going on. Any ideas?