Pain aftersex..?

So i had sex today (fyi was great) and straight after that i peed (because its good to do so for some reason to prevent vaginal pain after the sex) like i always do always but the problem is that my vagina stills hurts since then and i don’t know why