what was the feeling I got during sex

Hannah
The other night just before my boyfriend came(in a condom) I got this feeling while riding him and it felt good but that I was going to pee so of course I got off him quickly and then I was fine, what was it?