Stinging/burning pain when peeing after sex

It never burns when I pee after sex but tonight after me and my boyfriend had sex, i went to pee and it was stinging a little bit especially when only a little amount of pee was coming. i know it wasn’t due to dryness cus i wasn’t dry. we used a condom, but while we were having sex his dick slipped and hit where i pee from and it hurt a bit. i’m not sure if that’s why but i’m scared it might cause a UTI. ☹️