39 weeks pregnant and hurts to pee

When I sit to go to the restroom I get this really sharp pain in my lower stomach and my stomach gets hard and it just really hurts. I keep forgetting to mention it to my doctor at my weekly check up. But when they do a urine sample I don’t have a uti or anything. And I’ve been having this pain for about a week now.