Was I about to orgasm?

So I was having sex and suddenly I had the sensation I needed to pee and it happened a few times but I would always make some way to slow down or something because I was scared I would actually pee lmao. Could it have been that I was reaching an orgasm? Because I didn’t even need to pre afterwards or anything