Uti ? Or something else ?

So today I woke up with stomach pain because I took a plan B yesterday (the condom broke) and now I’m having a very uncomfortable feel down there and I also had the urge to pee but I wasn’t able to hold it in . And later that day I had the urge to pee and I couldn’t hold it and I peed on myself .