UTI and period

I'm on my period but slept for 22 hours without changing a pad. I now feel like I have to pee all the time but no pain with urination. It's to the point now where I feel like I'm going to pee myself but absolutely no urine comes out.